. tests/functions.sh
title "%div% blocks"
rc=0
MARKDOWN_FLAGS=
try 'simple >%div% block' \
'>%this%
this this' \
'
'
try 'two >%div% blocks in a row' \
'>%this%
this this
>%that%
that that' \
'
'
try '>%class:div%' \
'>%class:this%
this this' \
''
try '>%id:div%' \
'>%id:this%
this this' \
''
try 'nested >%div%' \
'>%this%
>>%that%
>>that
>%more%
more' \
'
'
try '%class% with _' '>%class:this_that%' ''
try '%class% with -' '>%class:this-that%' ''
try 'illegal %class%' '>%class:0zip%' '%class:0zip%
'
summary $0
exit $rc