go-org-orgwiki/org/testdata/keywords.org
Niklas Fasching dce67eaddf Improve ATTR_HTML keyword parsing
Org mode separates kvs not as initially assumed by whitespace (~ csv) but
rather at keywords (~ :\w+).

This is still not replicating Org mode behaviour though as I decided against
attributes ignoring multi-definitions. Instead we stack their
values (and those existing on the element) for certain attributes (class, style
for now).

e.g.
[[foo]]

would become <foo class="a"> in Org mode but becomes <foo class="a b"> with
go-org.
2018-12-18 00:16:41 +01:00

419 B

echo "a bash source block with custom html attributes"
and multiple lines of captions!

and an image with custom html attributes and a caption

https://placekitten.com/200/200#.png
kittens!