diff options
author | Mauro Bieg <mb21@users.noreply.github.com> | 2017-12-21 20:56:20 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-12-21 12:56:20 -0700 |
commit | 6ec7e39b4c525037c26f114e1db4a1afcf97daaa (patch) | |
tree | 1e5beb85d925daa64326c6f888aa974f9cc1614a | |
parent | 685e90cd4f25e75d80b07b8fa9d3cd63f5999555 (diff) | |
download | pandoc-6ec7e39b4c525037c26f114e1db4a1afcf97daaa.tar.gz |
MANUAL.txt use native syntax for custom-style (#4174)
-rw-r--r-- | MANUAL.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 3d69e90d8..bc332300d 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -4335,19 +4335,19 @@ using `div`s and `span`s, respectively. If you define a `div` or `span` with the attribute `custom-style`, pandoc will apply your specified style to the contained elements. So, -for example, +for example using the `bracketed_spans` syntax, - <span custom-style="Emphatically">Get out,</span> he said. + [Get out]{custom-style="Emphatically"}, he said. -would produce a docx file with "Get out," styled with character -style `Emphatically`. Similarly, +would produce a docx file with "Get out" styled with character +style `Emphatically`. Similarly, using the `fenced_divs` syntax, Dickinson starts the poem simply: - <div custom-style="Poetry"> + ::: {custom-style="Poetry"} | A Bird came down the Walk--- | He did not know I saw--- - </div> + ::: would style the two contained lines with the `Poetry` paragraph style. |