Closed
Description
When parsing a table from RST and outputing as a regular table (not grid table) results in double captions.
Input table:
.. table:: Test Table
================================== ==== =========== =============== ===== === =====
Functions for tests 1 2Test 3Untested 4Alg 5 6Col
================================== ==== =========== =============== ===== === =====
a yes yes
b yes
c yes yes
d yes
e yes yes
================================== ==== =========== =============== ===== === =====
Result:
<table>
<caption>Test Table</caption>
<thead>
<tr>
<th>Functions for tests</th>
<th>1</th>
<th>2Test</th>
<th>3Untested</th>
<th>4Alg</th>
<th>5</th>
<th>6Col</th>
</tr>
</thead>
<tbody>
<tr>
<td><p>a b c d e</p></td>
<td><p>yes</p>
<p>yes</p></td>
<td><p>yes</p></td>
<td><p>yes</p>
<p>yes</p></td>
<td><p>yes</p></td>
<td><p>yes</p></td>
<td><p>yes</p></td>
</tr>
</tbody>
</table>
: Test Table
There is another caption outside of the table, starting with :
Is it possible to disable the :
caption, since there already is one with the HTML caption tag, which Markdown supports by default.
Command used to run pandoc in.rst -f rst -t markdown+simple_tables-grid_tables -o out.md
Pandoc version
Latest version 3.3 on Windows.