"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.18/test/command/1166.md" (4 Apr 2022, 924 Bytes) of package /linux/www/pandoc-2.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

See #1166 and http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#simple-tables.

% pandoc -f rst -t html5
=====  =====
col 1  col 2
=====  =====
1      Second column of row 1.
2      Second column of row 2.
       Second line of paragraph.
3      - Second column of row 3.

       - Second item in bullet
         list (row 3, column 2).
\      Row 4; column 1 will be empty.
=====  =====
^D
<table>
<thead>
<tr class="header">
<th>col 1</th>
<th>col 2</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>1</td>
<td>Second column of row 1.</td>
</tr>
<tr class="even">
<td><p>2</p></td>
<td><p>Second column of row 2. Second line of paragraph.</p></td>
</tr>
<tr class="odd">
<td><p>3</p></td>
<td><ul>
<li>Second column of row 3.</li>
<li>Second item in bullet list (row 3, column 2).</li>
</ul></td>
</tr>
<tr class="even">
<td></td>
<td>Row 4; column 1 will be empty.</td>
</tr>
</tbody>
</table>