PageRenderTime 22ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/test/art/ok/toc-no-headers.aat

http://txt2tags.googlecode.com/
Unknown | 231 lines | 151 code | 80 blank | 0 comment | 0 complexity | 75f4c1556f4180b924d36e93b683353d MD5 | raw file
  1
  2------------------------------------------------------------------------
  3
  4                         +-------------------+                          
  5                         | Table of Contents |                          
  6                         +-------------------+                          
  7
  8  Introduction
  9  Fonts and Beautifiers
 10    Beautifiers
 11    Pre-Formatted Text
 12    More Cosmetics
 13  Lists
 14    Plain List
 15    Numbered List
 16    Definition List
 17  Tables
 18  Special Entities
 19    Images
 20    Other
 21
 22
 23------------------------------------------------------------------------
 24
 25
 26Before the Introduction.
 27
 28It's fine !
 29
 30
 31                            +--------------+
 32                            | Introduction |
 33                            +--------------+
 34
 35Welcome to the txt2tags sample file.
 36
 37Here you have examples and a brief explanation of all
 38marks.
 39
 40The first 3 lines of the this file are used as headers,
 41on the following format:
 42
 43  line1: document title
 44  line2: author name, email
 45  line3: date, version
 46
 47Lines with balanced equal signs = around are titles.
 48
 49
 50                       +-----------------------+
 51                       | Fonts and Beautifiers |
 52                       +-----------------------+
 53
 54We have two sets of fonts:
 55
 56The NORMAL type that can be improved with beautifiers.
 57
 58The TYPEWRITER type that uses monospaced font for
 59pre-formatted text.
 60
 61We will now enter on a subtitle...
 62
 63
 64Beautifiers
 65===========
 66
 67The text marks for beautifiers are simple, just as you
 68type on a plain text email message.
 69
 70We use double *, /, - and _ to represent *bold*,
 71/italic/, -strike- and _underline_.
 72
 73The */bold italic/* style is also supported as a
 74combination.
 75
 76
 77Pre-Formatted Text
 78==================
 79
 80We can put a code sample or other pre-formatted text:
 81
 82    here    is     pre-formatted
 83  //marks// are  **not**  ``interpreted``
 84
 85And also, it's easy to put a one line pre-formatted
 86text:
 87
 88  prompt$ ls /etc
 89
 90Or use pre-formatted inside sentences.
 91
 92
 93More Cosmetics
 94==============
 95
 96Special entities like email (duh@somewhere.com) and
 97URL (http://www.duh.com) are detected automagically,
 98as long as the horizontal line:
 99
100------------------------------------------------------------------------
101
102^ thin or large v
103
104========================================================================
105
106You can also specify an explicit link[1]
107with label.
108
109And remember,
110
111        A TAB in front of the line does a quotation.
112
113                More TABs, more depth (if allowed).
114
115
116Nice.
117
118
119                               +-------+
120                               | Lists |
121                               +-------+
122
123A list of items is natural, just putting a *dash* or
124a *plus* at the beginning of the line.
125
126
127Plain List
128==========
129
130The dash is the default list identifier. For sublists,
131just add *spaces* at the beginning of the line. More
132spaces, more sublists.
133
134- earth
135  - america
136    - south america
137      - brazil
138        - how deep can i go?
139  - europe
140    - lots of countries
141- mars
142  - who knows?
143
144The list ends with *two* consecutive blank lines.
145
146
147Numbered List
148=============
149
150The same rules as the plain list, just a different
151identifier (plus).
152
1531. one
1542. two
1553. three
156  - mixed lists!
157  - what a mess
158    1. counting again
159    2. ...
1604. four
161
162
163Definition List
164===============
165
166The definition list identifier is a colon, followed by
167the term. The term contents is placed on the next line.
168
169orange
170  a yellow fruit
171apple
172  a green or red fruit
173other fruits
174  - wee!
175  - mixing lists
176    1. again!
177    2. and again!
178
179
180                               +--------+
181                               | Tables |
182                               +--------+
183
184Use pipes to compose table rows and cells.
185Double pipe at the line beginning starts a heading row.
186Natural spaces specify each cell alignment.
187
188                +-----------+-------------+------------+                
189                | heading 1 |  heading 2  |  heading 3 |                
190                +===========+=============+============+                
191                | cell 1.1  |  cell 1.2   |   cell 1.3 |                
192                +-----------+-------------+------------+                
193                | cell 2.1  |  cell 2.2   |   cell 2.3 |                
194                +-----------+-------------+------------+                
195
196Without the last pipe, no border:
197
198                +-----------+-------------+------------+                
199                | heading 1 |  heading 2  |  heading 3 |                
200                +-----------+-------------+------------+                
201                | cell 1.1  |  cell 1.2   |   cell 1.3 |                
202                | cell 2.1  |  cell 2.2   |   cell 2.3 |                
203                +-----------+-------------+------------+                
204
205
206                          +------------------+
207                          | Special Entities |
208                          +------------------+
209
210Because things were too simple.
211
212
213Images
214======
215
216The image mark is as simple as it can be: [filename].
217
218                      [img/photo.jpg]
219
220- The filename must end in PNG, JPG, GIF, or similar.
221- No spaces inside the brackets!
222
223
224Other
225=====
226
227The handy %%date macro expands to the current date.
228
229That's all for now.
230
231[1] http://duh.org