Files
pandoc/test/command/11128.md
John MacFarlane 71a0c5c61e Markdown writer: use approximate pipe tables when it's the only option.
If we have a table with row/colspans that can rendered as an
approximate pipe table (without row/colspans), and no other table
format is enabled that could render the table, we fall back to
an "approximate" pipe table, with no row/colspans.

Closes #11128.
2025-09-10 09:49:06 +02:00

510 B

% pandoc -f html -t markdown_strict+pipe_tables-raw_html
<table>
<tr>
<th class="" colspan="2" rowspan="1"><b>Subject</b></th>
<th class=""><b>Grade</b></th>
</tr>
<tr>
<td class="" colspan="1" rowspan="2">Physics</td>
<td class="">Practical</td>
<td class="">A</td>
</tr>
<tr>
<td class="">Theory</td>
<td class="">B+</td>
</tr>
</table>
^D
| **Subject** |           | **Grade** |
|-------------|-----------|-----------|
| Physics     | Practical | A         |
|             | Theory    | B+        |