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.
 
 
 
 
 
 

21 lines
455 B

. tests/functions.sh
title "embedded images"
rc=0
MARKDOWN_FLAGS=
try 'image with size extension' \
'![picture](pic =200x200)' \
'<p><img src="pic" height="200" width="200" alt="picture" /></p>'
try 'image with height' \
'![picture](pic =x200)' \
'<p><img src="pic" height="200" alt="picture" /></p>'
try 'image with width' \
'![picture](pic =200x)' \
'<p><img src="pic" width="200" alt="picture" /></p>'
summary $0
exit $rc