git.iko.soy/typeable/pandoc
on bc3caaa help sign in
55 lines 1.2 kB history raw
1```
2% pandoc -f html -t native
3<table>
4<caption>Demonstration of simple table syntax.</caption>
5<thead>
6<tr class="header">
7<th align="right">Right</th>
8<th align="left">Left</th>
9<th align="center">Center</th>
10<th>Default</th>
11</tr>
12</thead>
13<tbody>
14<tr class="odd">
15<td align="right">12</td>
16<td align="left">12</td>
17<td align="center">12</td>
18<td>12</td>
19</tr>
20</tbody>
21</table>
22^D
23[Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.0,0.0,0.0,0.0]
24 [[Plain [Str "Right"]]
25 ,[Plain [Str "Left"]]
26 ,[Plain [Str "Center"]]
27 ,[Plain [Str "Default"]]]
28 [[[Plain [Str "12"]]
29 ,[Plain [Str "12"]]
30 ,[Plain [Str "12"]]
31 ,[Plain [Str "12"]]]]]
32```
34```
35% pandoc -f html -t native
36<table>
37<tr class="odd">
38<td style="text-align: right;">12</td>
39<td style="text-align:left;">12</td>
40<td style="text-align: center">12</td>
41<td style="text-align: right;">12</td>
42</tr>
43</table>
44^D
45[Table [] [AlignRight,AlignLeft,AlignCenter,AlignRight] [0.0,0.0,0.0,0.0]
46 [[]
47 ,[]
48 ,[]
49 ,[]]
50 [[[Plain [Str "12"]]
51 ,[Plain [Str "12"]]
52 ,[Plain [Str "12"]]
53 ,[Plain [Str "12"]]]]]
54```