@@ -2888,16 +2888,20 @@ Attributes can be attached to verbatim text, just as with
28882888
28892889### Small caps ###
28902890
2891−To write small caps, you can use an HTML span tag:
2891+To write small caps, use the `smallcaps` class:
28922892
2893− <span style="font-variant:small-caps;">Small caps</span>
2893+ [Small caps]{.smallcaps}
2894+
2895+Or, without the `bracketed_spans` extension:
28942896
2895−(The semicolon is optional and there may be space after the
2896−colon.) This will work in all output formats that support small caps.
2897+ <span class="smallcaps">Small caps</span>
2898+
2899+For compatibility with other Markdown flavors, CSS is also supported:
2900+
2901+ <span style="font-variant:small-caps;">Small caps</span>
28972902
2898−Alternatively, you can also use the new `bracketed_spans` syntax:
2903+This will work in all output formats that support small caps.
28992904
2900− [Small caps]{style="font-variant:small-caps;"}
29012905
29022906Math
29032907----