/test/marks/image.t2t

http://txt2tags.googlecode.com/ · Unknown · 37 lines · 24 code · 13 blank · 0 comment · 0 complexity · b29fa9a0cf0f4d867ca215f0634c5596 MD5 · raw file

  1. %!preproc: img\.png ../../samples/img/t2tbutton.png
  2. %!includeconf: test.conf
  3. BODYINIT
  4. %%% Syntax: Image name inside brackets: [img]
  5. [img.png]
  6. %%% Syntax: Image pointing to a link: [[img] link]
  7. [[img.png] http://txt2tags.org]
  8. %%% Align: Image position is preserved when inside paragraph
  9. [img.png] Image at the line beginning.
  10. Image in the middle [img.png] of the line.
  11. Image at the line end. [img.png]
  12. %%% Align: Image alone with spaces around is aligned
  13. [img.png]
  14. [img.png]
  15. [img.png]
  16. %%% Test: Two glued images with no spaces (left & right)
  17. [img.png][img.png]
  18. %%% Test: Various per line
  19. Images [img.png] mixed [img.png] with [img.png] text.
  20. Images glued together: [img.png][img.png][img.png].
  21. %%% Invalid: Spaces inside are not allowed
  22. [img.png ]
  23. [ img.png]
  24. [ img.png ]