. foo bar
foo . bar
a ~~~ foo bar b
a ~~~~ foo . bar b
Strikeouts have the same priority as emphases: . ~~test~~
Strikeouts have the same priority as emphases with respect to links: . ~~link~~
Strikeouts have the same priority as emphases with respect to backticks: . ~~
Nested strikeouts: .
foo bar baz f o . o b a r
Should not have a whitespace between text and “~~”: . foo ~~ bar ~~ baz .
Should parse strikethrough within link tags: .
Newline should be considered a whitespace: . ~~test ~~
~~ test ~~ .
From CommonMark test suite, replacing
** with our marker:
. a~~“foo”~~ .
Coverage: single tilde . ~a~ .