Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.t2t.fold is written in an unsupported language. File is not indexed.

0001 header-line1: document title
0002 header-line2: author name, email
0003 header-line3: date, version
0004 
0005 txt2tags sample
0006 
0007 % Comment Line ALERT TODO FIXME
0008 
0009 <beginfold id='1'>%%%</beginfold id='1'>
0010 Comment Block
0011 <endfold id='1'>%%%</endfold id='1'>
0012 
0013 %!--includeconf: config.t2t
0014 % disabled here because there is no external file
0015 %!preproc: 'JUST A TEST'    ' '
0016 %!postproc: '(?i)(<body)'   '\1 id="shots"'
0017 %!postproc: '(?i)(</title>)'    ' shots\1'
0018 
0019 %!--include: menu.t2t
0020 
0021 <endfold id='2'></endfold id='2'><beginfold id='2'>= Title 1 =</beginfold id='2'>
0022 
0023 
0024 <endfold id='2'></endfold id='2'><beginfold id='2'>== My Subtitle 1 ==[some definition]</beginfold id='2'>
0025 
0026 Some examples:
0027 
0028 - A paragraph with **bold**, //italic// and --strike--.
0029 - You can even __underline your docs__!
0030 
0031 - And use **//bold and italic//** 
0032 - or //**italic and bold**// 
0033 
0034 Here is a nice pic: [img/t2tpowered.png].
0035 
0036 - And a [link to a cool website http://txt2tags.sf.net]!
0037 
0038 - A table : 
0039 
0040   || Name | Age  |  Gender |
0041   | John |  33  |    Male |
0042   | Mary |  19  |  Female |
0043   
0044 
0045 ``` A verbatim line
0046 
0047 And it's working for ``special code`` like this.
0048 
0049 <beginfold id='3'>```</beginfold id='3'>
0050 A verbatim block
0051 <endfold id='3'>```</endfold id='3'>
0052 
0053 Raw strings:
0054 
0055 """ A raw line
0056 
0057 <beginfold id='4'>"""</beginfold id='4'>
0058 A raw block
0059 <endfold id='4'>"""</endfold id='4'>
0060 
0061 Tagged strings:
0062 
0063 ''' A tagged line
0064 
0065 <beginfold id='5'>'''</beginfold id='5'>
0066 A tagged block
0067 <endfold id='5'>'''</endfold id='5'>
0068 
0069 And remember,
0070         A TAB in front of the line does a quotation.
0071                 More TABs, more depth (if allowed).
0072 
0073 Horizontal lines:
0074 --------------------------------------------------------
0075 ^ thin or large v
0076 ========================================================
0077 
0078 <endfold id='2'></endfold id='2'><beginfold id='2'>== My Subtitle 2 ==</beginfold id='2'>
0079 
0080 
0081 Lorem ipsum etc
0082 Lorem ipsum etc Lorem ipsum etc
0083 
0084 - Test d'écriture avec des accents à la française. Ça marche ou pas ?
0085 
0086 <endfold id='2'></endfold id='2'><beginfold id='2'>== My Subtitle 3 ==</beginfold id='2'>
0087 
0088 
0089 Lorem ipsum etc
0090 Lorem ipsum etc
0091 
0092 Here is a direct link: http://kde.org
0093 
0094 
0095 - Another boring part...
0096 
0097 
0098 
0099 <endfold id='2'></endfold id='2'><beginfold id='2'>=== My Subsubtitle 1 ===</beginfold id='2'>
0100 
0101 //It's a level 3 header// 
0102 
0103 - list 1
0104 - list 2
0105  - list 2b
0106 - list 3
0107 
0108 
0109 <endfold id='2'></endfold id='2'><beginfold id='2'>=== My Subsubtitle 2 ===</beginfold id='2'>
0110 
0111 //It's another level 3 header// 
0112 
0113 + ordered list 1
0114 + list 2
0115  + list 2B
0116  + list 2C
0117 + list 3
0118 
0119 
0120 <endfold id='2'></endfold id='2'><beginfold id='2'>== My Subtitle 4 ==</beginfold id='2'>
0121 
0122 The handy ``%%date`` macro expands to the current date.
0123 
0124 So today is %%date on the ISO ``YYYYMMDD`` format.
0125 
0126 You can also specify the date format with the %? flags,
0127 as ``%%date(%m-%d-%Y)`` which gives: %%date(%m-%d-%Y).
0128 
0129 <endfold id='2'></endfold id='2'><beginfold id='2'>= Images =</beginfold id='2'>
0130 
0131 The image mark is as simple as it can be: ``[filename]``.
0132 
0133                       [img/photo.jpg]
0134 
0135 And with some targets the image is linkable :
0136 
0137                       [[img/photo.jpg] http://www.txt2tags.org]
0138 
0139 <endfold id='2'></endfold id='2'><beginfold id='2'>=  Tables  =</beginfold id='2'>
0140 
0141 Use pipes to compose table rows and cells.
0142 Double pipe at the line beginning starts a heading row.
0143 Natural spaces specify each cell alignment.
0144 
0145   | cell 1.1  |  cell 1.2   |   cell 1.3 |
0146   | cell 2.1  |  cell 2.2   |   cell 2.3 |
0147   | cell 3.1  |  cell 3.2   |   cell 3.3 |
0148 
0149 || heading 1 |  heading 2  |  heading 3 |
0150  | cell 1.1  |  cell 1.2   |   cell 1.3 |
0151  | cell 2.1  |  cell 2.2   |   cell 2.3 |
0152 
0153  |_ heading 1 |  cell 1.1   |   cell 1.2 |
0154   | heading 2 |  cell 2.1   |   cell 2.2 |
0155   | heading 3 |  cell 3.1   |   cell 3.2 |
0156 
0157 |/ heading   |  heading 1  |  heading 2 |
0158  | heading 1 |  cell 1.1   |   cell 1.2 |
0159  | heading 2 |  cell 2.1   |   cell 2.2 |
0160 
0161 Without the last pipe, no border:
0162 
0163   | cell 1.1  |  cell 1.2   |   cell 1.3
0164   | cell 2.1  |  cell 2.2   |   cell 2.3
0165   | cell 3.1  |  cell 3.2   |   cell 3.3
0166 
0167 || heading 1 |  heading 2  |  heading 3
0168  | cell 1.1  |  cell 1.2   |   cell 1.3
0169  | cell 2.1  |  cell 2.2   |   cell 2.3
0170 
0171  |_ heading 1 |  cell 1.1   |   cell 1.2
0172   | heading 2 |  cell 2.1   |   cell 2.2
0173   | heading 3 |  cell 3.1   |   cell 3.2
0174 
0175 |/ heading   |  heading 1  |  heading 2
0176  | heading 1 |  cell 1.1   |   cell 1.2
0177  | heading 2 |  cell 2.1   |   cell 2.2
0178 
0179 
0180 <endfold id='2'></endfold id='2'><beginfold id='2'>= Other Title =</beginfold id='2'>
0181 
0182 nothing to say here...