mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
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.
24 lines
510 B
Markdown
24 lines
510 B
Markdown
```
|
|
% 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+ |
|
|
```
|