PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/test/marks/image.t2t

http://txt2tags.googlecode.com/
Unknown | 37 lines | 24 code | 13 blank | 0 comment | 0 complexity | b29fa9a0cf0f4d867ca215f0634c5596 MD5 | raw file
 1
 2%!preproc: img\.png	../../samples/img/t2tbutton.png
 3%!includeconf: test.conf
 4BODYINIT
 5
 6%%% Syntax: Image name inside brackets: [img]
 7[img.png]
 8
 9%%% Syntax: Image pointing to a link: [[img] link]
10[[img.png] http://txt2tags.org]
11
12%%% Align: Image position is preserved when inside paragraph
13[img.png] Image at the line beginning.
14
15Image in the middle [img.png] of the line.
16
17Image at the line end. [img.png]
18
19%%% Align: Image alone with spaces around is aligned
20[img.png]   
21                [img.png]  
22                                    [img.png]
23
24%%% Test: Two glued images with no spaces (left & right)
25[img.png][img.png]
26
27%%% Test: Various per line
28Images [img.png] mixed [img.png] with [img.png] text.
29
30Images glued together: [img.png][img.png][img.png].
31
32%%% Invalid: Spaces inside are not allowed
33[img.png ]
34
35[ img.png]
36
37[ img.png ]