pandoc/test/command/4102.md
Albert Krewinkel f4a7c0b799 Markdown reader: allow more attributes in special spans
Spans with "smallcaps" as the first class are converted to *SmallCaps*
elements. While previously no other classes or attributes were allowed,
additional classes, attributes, and an identifier are not permitted and
kept in a *SmallCaps* wrapping *Span* element.

The same change is applied to underline spans, where the first class
must be either "ul" or "underline".

Closes: #4102
2022-08-01 10:03:48 -07:00

202 B

SmallCaps spans can have additional attributes.

% pandoc -t latex -f markdown
[Populus]{.smallcaps lang=la}

[Romanus]{.smallcaps}
^D
\foreignlanguage{latin}{\textsc{Populus}}

\textsc{Romanus}