diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 12:16:51 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 12:16:58 +0200 |
commit | faca28020f4894bdfcf5a4b164ebbc75864d8776 (patch) | |
tree | 93377413ae8c355e2d804f7e700241693b228e70 /tests/heading_atx.rs | |
parent | e1cae8c705e66669d043f5269e9f58c09c7b0eaa (diff) | |
download | markdown-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.rs | 11 |
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 "), |