git.iko.soy/typeable/pandoc
on rc/2.11.0.4 help sign in
typeable/pandoc/test/command/custom-attributes.html
16 lines 244 B history raw
1Custom attributes should automatically have data- added
2in HTML5:
3```
4% pandoc -t html5
5[hello]{foo="bar"}
6^D
7<span data-foo="bar">hello</span>
8```
10but not in HTML4:
11```
12% pandoc -t html4
13[hello]{foo="bar"}
14^D
15<span foo="bar">hello</span>
16```