aboutsummaryrefslogtreecommitdiffstats
path: root/tests/heading_atx.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 12:16:51 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 12:16:58 +0200
commitfaca28020f4894bdfcf5a4b164ebbc75864d8776 (patch)
tree93377413ae8c355e2d804f7e700241693b228e70 /tests/heading_atx.rs
parente1cae8c705e66669d043f5269e9f58c09c7b0eaa (diff)
downloadmarkdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.gz
markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.bz2
markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.zip
Add support for attention (emphasis, strong)
Diffstat (limited to 'tests/heading_atx.rs')
-rw-r--r--tests/heading_atx.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs
index ef5846a..c9aa803 100644
--- a/tests/heading_atx.rs
+++ b/tests/heading_atx.rs
@@ -62,12 +62,11 @@ fn heading_atx() {
"should not support a heading for an escaped number sign"
);
- // To do: attention.
- // assert_eq!(
- // micromark("# foo *bar* \\*baz\\*"),
- // "<h1>foo <em>bar</em> *baz*</h1>",
- // "should support text content in headings"
- // );
+ assert_eq!(
+ micromark("# foo *bar* \\*baz\\*"),
+ "<h1>foo <em>bar</em> *baz*</h1>",
+ "should support text content in headings"
+ );
assert_eq!(
micromark("# foo "),