mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-04 14:45:50 +00:00
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
12 lines
202 B
Markdown
12 lines
202 B
Markdown
SmallCaps spans can have additional attributes.
|
|
```
|
|
% pandoc -t latex -f markdown
|
|
[Populus]{.smallcaps lang=la}
|
|
|
|
[Romanus]{.smallcaps}
|
|
^D
|
|
\foreignlanguage{latin}{\textsc{Populus}}
|
|
|
|
\textsc{Romanus}
|
|
```
|