MANUAL.txt use native syntax for custom-style (#4174)
This commit is contained in:
parent
685e90cd4f
commit
6ec7e39b4c
1 changed files with 6 additions and 6 deletions
12
MANUAL.txt
12
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue