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

  1. . tests/functions.sh
  2. title "embedded images"
  3. rc=0
  4. MARKDOWN_FLAGS=
  5. try 'image with size extension' \
  6. '![picture](pic =200x200)' \
  7. '<p><img src="pic" height="200" width="200" alt="picture" /></p>'
  8. try 'image with height' \
  9. '![picture](pic =x200)' \
  10. '<p><img src="pic" height="200" alt="picture" /></p>'
  11. try 'image with width' \
  12. '![picture](pic =200x)' \
  13. '<p><img src="pic" width="200" alt="picture" /></p>'
  14. summary $0
  15. exit $rc