mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-29 10:55:40 +00:00
Tables with attributes are no longer wrapped in Div elements; attributes are added directly to the table element.
23 lines
269 B
Markdown
23 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>
|
|
```
|