7 This text is before the introduction.
13 Welcome to the txt2tags sample file.
15 Here you have examples and a brief explanation of all
18 The first 3 lines of this file are used as headers,
19 on the following format:
22 line2: author name, email
26 Lines with balanced equal signs = around are titles.
29 %TODO link to program site http://txt2tags.org
32 = Fonts and Beautifiers =
34 We have two sets of fonts:
36 The NORMAL type that can be improved with beautifiers.
38 The TYPEWRITER type that uses monospaced font for
41 We will now enter on a subtitle...
46 The text marks for beautifiers are simple, just as you
47 type on a plain text email message.
49 We use double *, /, - and _ to represent **bold**,
50 //italic//, --strike-- and __underline__.
52 The **//bold italic//** style is also supported as a
56 == Pre-Formatted Text ==
58 We can put a code sample or other pre-formatted text:
61 //marks// are **not** ``interpreted``
64 And also, it's easy to put a one line pre-formatted
68 Or use ``pre-formatted`` inside sentences.
73 Special entities like email (duh@somewhere.com) and
74 URL (http://www.duh.com) are detected automagically,
75 as long as the horizontal line:
77 --------------------------------------------------------
79 ========================================================
81 You can also specify an [explicit link http://duh.org]
82 or an [explicit email duh@somewhere.com] with label.
85 A TAB in front of the line does a quotation.
86 More TABs, more depth (if allowed).
92 A list of items is natural, just putting a **dash** or
93 a **plus** at the beginning of the line.
98 The dash is the default list identifier. For sublists,
99 just add **spaces** at the beginning of the line. More
100 spaces, more sublists.
113 The list ends with **two** consecutive blank lines.
118 The same rules as the plain list, just a different
131 == Definition List ==
133 The definition list identifier is a colon, followed by
134 the term. The term contents is placed on the next line.
149 Use pipes to compose table rows and cells.
150 Double pipe at the line beginning starts a heading row.
151 Natural spaces specify each cell alignment.
153 | cell 1.1 | cell 1.2 | cell 1.3 |
154 | cell 2.1 | cell 2.2 | cell 2.3 |
155 | cell 3.1 | cell 3.2 | cell 3.3 |
157 || heading 1 | heading 2 | heading 3 |
158 | cell 1.1 | cell 1.2 | cell 1.3 |
159 | cell 2.1 | cell 2.2 | cell 2.3 |
161 |_ heading 1 | cell 1.1 | cell 1.2 |
162 | heading 2 | cell 2.1 | cell 2.2 |
163 | heading 3 | cell 3.1 | cell 3.2 |
165 |/ heading | heading 1 | heading 2 |
166 | heading 1 | cell 1.1 | cell 1.2 |
167 | heading 2 | cell 2.1 | cell 2.2 |
169 Without the last pipe, no border:
171 | cell 1.1 | cell 1.2 | cell 1.3
172 | cell 2.1 | cell 2.2 | cell 2.3
173 | cell 3.1 | cell 3.2 | cell 3.3
175 || heading 1 | heading 2 | heading 3
176 | cell 1.1 | cell 1.2 | cell 1.3
177 | cell 2.1 | cell 2.2 | cell 2.3
179 |_ heading 1 | cell 1.1 | cell 1.2
180 | heading 2 | cell 2.1 | cell 2.2
181 | heading 3 | cell 3.1 | cell 3.2
183 |/ heading | heading 1 | heading 2
184 | heading 1 | cell 1.1 | cell 1.2
185 | heading 2 | cell 2.1 | cell 2.2
189 Because things were too simple.
194 The image mark is as simple as it can be: ``[filename]``.
198 And with some targets the image is linkable :
200 [[img/photo.jpg] http://www.txt2tags.org]
202 - The filename must end in PNG, JPG, GIF, or similar.
203 - No spaces inside the brackets!
207 When the target needs, special chars like <, > and &
210 The handy ``%%date`` macro expands to the current date.
212 So today is %%date on the ISO ``YYYYMMDD`` format.
214 You can also specify the date format with the %? flags,
215 as ``%%date(%m-%d-%Y)`` which gives: %%date(%m-%d-%Y).
219 -------------------------------------------------------
220 %%% TRANSLATOR: Uncomment and translate the next two lines
221 %Translated by John Smith.
222 %-------------------------------------------------------
223 [img/t2tpowered.png] ([%%infile %%infile])