blob: 67dccc1b885616cd84246687bcdc2c6299b75e4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Custom attributes should automatically have data- added
in HTML5:
```
% pandoc -t html5
[hello]{foo="bar"}
^D
<span data-foo="bar">hello</span>
```
but not in HTML4:
```
% pandoc -t html4
[hello]{foo="bar"}
^D
<span foo="bar">hello</span>
```
|