67daf96bdd
Tables with attributes are no longer wrapped in Div elements; attributes are added directly to the table element.
22 lines
269 B
Markdown
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>
|
|
```
|