aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2017-10-31 18:19:30 +0000
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-31 14:19:30 -0400
commitb90a0fe3dc71ac798fefc734983d5c896226be2c (patch)
treed848db87240e143cf7133225babbfaa97da40ad9
parent13e438ec9f3bd83d0e0982a30cd19049ae6a6f23 (diff)
downloadpandoc-b90a0fe3dc71ac798fefc734983d5c896226be2c.tar.gz
Revise documentation of small caps syntax. (#4013)
-rw-r--r--MANUAL.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index ac057ef91..50977ca3b 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -2888,16 +2888,20 @@ Attributes can be attached to verbatim text, just as with
### Small caps ###
-To write small caps, you can use an HTML span tag:
+To write small caps, use the `smallcaps` class:
- <span style="font-variant:small-caps;">Small caps</span>
+ [Small caps]{.smallcaps}
+
+Or, without the `bracketed_spans` extension:
-(The semicolon is optional and there may be space after the
-colon.) This will work in all output formats that support small caps.
+ <span class="smallcaps">Small caps</span>
+
+For compatibility with other Markdown flavors, CSS is also supported:
+
+ <span style="font-variant:small-caps;">Small caps</span>
-Alternatively, you can also use the new `bracketed_spans` syntax:
+This will work in all output formats that support small caps.
- [Small caps]{style="font-variant:small-caps;"}
Math
----