pandoc/test/command/6441.md
Brian Leung 67daf96bdd
Org reader: allow attrs for Org tables. (#8049)
Tables with attributes are no longer wrapped in Div elements;
attributes are added directly to the table element.
2022-05-02 17:25:57 +02:00

22 lines
269 B
Markdown

```
% pandoc -f org -t html
#+ATTR_HTML: :class table-dark
| h1 | h2 |
|----|----|
| c1 | c2 |
^D
<table class="table-dark">
<thead>
<tr class="header">
<th>h1</th>
<th>h2</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>c1</td>
<td>c2</td>
</tr>
</tbody>
</table>
```