/test/marks/image.t2t
http://txt2tags.googlecode.com/ · Unknown · 37 lines · 24 code · 13 blank · 0 comment · 0 complexity · b29fa9a0cf0f4d867ca215f0634c5596 MD5 · raw file
- %!preproc: img\.png ../../samples/img/t2tbutton.png
- %!includeconf: test.conf
- BODYINIT
- %%% Syntax: Image name inside brackets: [img]
- [img.png]
- %%% Syntax: Image pointing to a link: [[img] link]
- [[img.png] http://txt2tags.org]
- %%% Align: Image position is preserved when inside paragraph
- [img.png] Image at the line beginning.
- Image in the middle [img.png] of the line.
- Image at the line end. [img.png]
- %%% Align: Image alone with spaces around is aligned
- [img.png]
- [img.png]
- [img.png]
- %%% Test: Two glued images with no spaces (left & right)
- [img.png][img.png]
- %%% Test: Various per line
- Images [img.png] mixed [img.png] with [img.png] text.
- Images glued together: [img.png][img.png][img.png].
- %%% Invalid: Spaces inside are not allowed
- [img.png ]
- [ img.png]
- [ img.png ]