Le vendredi 13 septembre 2019 21:14:32 UTC+2, Daniel Staal a écrit :
On 9/13/19 3:04 PM, Don Raikes wrote:
> Hello,
>
> I am just getting started on my first pandoc project. I am breaking my
> project into multiple markdown files each of which starts with a level-2
> header “##”.
>
> How do I tell pandoc to force page breaks at each level-2 header?
>
What's your output format? Markdown has no idea of 'pages', so a page
break in markdown doesn't really mean anything.
For instance, assuming your target format is docx, you can add:
```{=openxml}
<w:p><w:r><w:br w:type="page"/></w:r></w:p>
```
wherever a page break is needed in the Markdown document.