strikethrough.t 439 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
. tests/functions.sh

title "strikethrough"

rc=0
MARKDOWN_FLAGS=

try 'strikethrough' '~~deleted~~' '<p><del>deleted</del></p>'
try -fnodel '... with -fnodel' '~~deleted~~' '<p>~~deleted~~</p>'
try 'mismatched tildes' '~~~tick~~' '<p><del>~tick</del></p>'
try 'mismatched tildes(2)' '~~tick~~~' '<p>~~tick~~~</p>'
try 'single tildes' '~tick~' '<p>~tick~</p>'
13
try 'tildes wrapped in spaces' '~~~ ~~~' '<p>~~~ ~~~</p>'
14 15 16

summary $0
exit $rc