PageRenderTime 212ms CodeModel.GetById 196ms RepoModel.GetById 0ms app.codeStats 0ms

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

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