impossible de modifier la réponse de LucasSeveryn, la file d'attente est pleine, alors ajoutez quelques informations ici.
voie 1: + raw_tex
\newpageet \pagebreakbesoin d' raw_texextension sur.
// avec pandoc 2.9.2.1, ne fonctionne pas avec la sortie docx ou html, --verbose dit
[INFO] Not rendering RawBlock (Format "tex") "\\pagebreak"
[INFO] Not rendering RawBlock (Format "tex") "\\newpage"
manière 2: + raw_attribute
https://pandoc.org/MANUAL.html#extension-raw_attribute
```{=openxml}
<w:p>
<w:r>
<w:br w:type="page"/>
</w:r>
</w:p>
```
// également pas pris en charge dans le format d'entrée gfm.
// cela a fonctionné pour la sortie docx, pas pour la sortie html.
AVIS d'extension
cette +raw_texextension de format nécessaire . qui ne prend pas en charge toutes les variantes de démarque dans pandoc.
https://pandoc.org/MANUAL.html#markdown-variants
Note, however, that commonmark and gfm have limited support for extensions.
Only those listed below (and smart, raw_tex, and hard_line_breaks) will work.
The extensions can, however, all be individually disabled.
Also, raw_tex only affects gfm output, not input.
cela -f markdownfonctionnera, mais -f gfmne fonctionnera pas.
extension de format
https://pandoc.org/MANUAL.html#option--de
Extensions can be individually enabled or disabled by appending
+EXTENSION or -EXTENSION to the format name.
par exemple
-t html+raw_tex: sortie enable raw_tex
-f markdown-raw_tex-raw_attribute: entrée désactiver raw_tex et raw_attribute