. ~~Strikeout~~ .

Strikeout

. . x ~~~~foo~~ bar~~ .

x foo bar

. . x ~~foo ~~bar~~~~ .

x foo bar

. . x ~~~~foo~~~~ .

x foo

. . x ~~a ~~foo~~~~~~~~~~~bar~~ b~~ x ~~a ~~foo~~~~~~~~~~~~bar~~ b~~ .

x a foo~~~bar b

x a foo~~~~bar b

. Strikeouts have the same priority as emphases: . **~~test**~~ ~~**test~~** .

~~test~~

**test**

. Strikeouts have the same priority as emphases with respect to links: . [~~link]()~~ ~~[link~~]() .

~~link~~

~~link~~

. Strikeouts have the same priority as emphases with respect to backticks: . ~~`code~~` `~~code`~~ .

~~code~~

~~code~~

. Nested strikeouts: . ~~foo ~~bar~~ baz~~ ~~f **o ~~o b~~ a** r~~ .

foo bar baz

f o o b a r

. Should not have a whitespace between text and "~~": . foo ~~ bar ~~ baz .

foo ~~ bar ~~ baz

. Should parse strikethrough within link tags: . [~~foo~~]() .

foo

. Newline should be considered a whitespace: . ~~test ~~ ~~ test~~ ~~ test ~~ .

~~test ~~

~~ test~~

~~ test ~~

. From CommonMark test suite, replacing `**` with our marker: . a~~"foo"~~ .

a~~"foo"~~

. Coverage: single tilde . ~a~ .

~a~

. Regression test for #742: . -~~~~;~~~~~~ .

-;~~

.