. tests/functions.sh title "markup peculiarities" rc=0 MARKDOWN_FLAGS= try 'list followed by header .......... ' \ " - AAA - BBB -" \ '' try 'ul with mixed item prefixes' \ ' - A 1. B' \ '' try 'ol with mixed item prefixes' \ ' 1. A - B ' \ '
  1. A
  2. B
' try 'nested lists and a header' \ '- A list item That goes over multiple lines and paragraphs - Another list item + with a + sublist ## AND THEN A HEADER' \ '

AND THEN A HEADER

' try 'forcing a
' 'this is' '

this
is

' try 'trimming single spaces' 'this ' '

this

' try -fnohtml 'markdown
with -fnohtml' 'foo is' '

foo
is

' summary $0 exit $rc