. Strikeout .

. x foo bar .

. x foo bar .

. x foo .

. x a foo~~~bar b

x a foo~~~~bar b .

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

**test** .

Strikeouts have the same priority as emphases with respect to links: . ~~link~~

~~link~~ .

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

~~code~~ .

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: . foo .

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

~~ test~~

~~ test ~~ .

From CommonMark test suite, replacing ** with our marker:

. a~~“foo”~~ .

Coverage: single tilde . ~a~ .