Text::Markdown::Discount
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
439 B

. 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>'
try 'tildes wrapped in spaces' '~~~ ~~~' '<p>~~~ ~~~</p>'
summary $0
exit $rc