. tests/functions.sh title "pandoc headers" rc=0 MARKDOWN_FLAGS= HEADER='% title % author(s) % date' try 'valid header' "$HEADER" '' try -F0x00010000 'valid header with -F0x00010000' "$HEADER" '

% title % author(s) % date

' try 'invalid header' \ '% title % author(s) a pony!' \ '

% title % author(s) a pony!

' try 'offset header' \ ' % title % author(s) % date' \ '

% title % author(s) % date

' try 'indented header' \ ' % title % author(s) % date' \ '

% title % author(s) % date

' summary $0 exit $rc