git.iko.soy/typeable/pandoc
on master help sign in
Add examples for raw docx blocks (#4472)
24faccdTristan Stenner
MANUAL.txt+12−1
@@ -3415,9 +3415,20 @@ And the following produces a raw `html` inline element:
3415
3415
3416 This is `<a>html</a>`{=html}
3416 This is `<a>html</a>`{=html}
3417
3417
3418+This can be useful to insert raw xml into `docx` documents, e.g.
3419+a pagebreak:
3420+
3421+ ```{=openxml}
3422+ <w:p>
3423+ <w:r>
3424+ <w:br w:type="page"/>
3425+ </w:r>
3426+ </w:p>
3427+ ```
3428+
3418The format name should match the target format name (see
3429The format name should match the target format name (see
3419`-t/--to`, above, for a list, or use `pandoc
3430`-t/--to`, above, for a list, or use `pandoc
3420−--list-output-formats`).
3431+--list-output-formats`). Use `=openxml` for `docx` output.
3421
3432
3422This extension presupposes that the relevant kind of
3433This extension presupposes that the relevant kind of
3423inline code or fenced code block is enabled. Thus, for
3434inline code or fenced code block is enabled. Thus, for