Debian Codegraph @

src/tests/strikethrough.rs

raw
1 use super::*;
2
3 #[test]
4 fn strikethrough() {
5 html_opts!(
6 [extension.strikethrough],
7 concat!(
8 "This is ~strikethrough~.\n",
9 "\n",
10 "As is ~~this, okay~~?\n",
11 "\n",
12 "This ~text~~~~ is ~~~~curious~.\n",
13 ),
14 concat!(
15 "<p>This is <del>strikethrough</del>.</p>\n",
16 "<p>As is <del>this, okay</del>?</p>\n",
17 "<p>This <del>text~~~~ is ~~~~curious</del>.</p>\n",
18 ),
19 );
20 }