pandoc/test/command/nested-spanlike.md
John MacFarlane ac7fa3da4d HTML writer: Allow "spanlike" classes to be combined.
Previously classes like "underline" and "marked" had to
be the first class in a span in order for the span to be
interpreted as a "ul" or "mark" element.  This commit allows
these special classes to be "stacked," e.g.
`[test]{.mark .underline}`; in addition, the special classes are no
longer required to come first in the list of classes.

See #8194 for context.
2022-07-25 11:55:48 -07:00

6 lines
155 B
Markdown

```
% pandoc -f markdown -t html
[test]{.foo .underline #bar .smallcaps .kbd}
^D
<p><u id="bar"><span class="smallcaps"><kbd>test</kbd></span></u></p>
```