aggsol
aggsol

Reputation: 2480

How to add a page break from pandoc markown to RTF output?

I tried to add \page and \page\par\ to the markdown to trigger a page break in the resulting RTF file but that does not work. Adding \newpage works with a LaTex output. Is there something similar for RTF?

Upvotes: 1

Views: 150

Answers (1)

tarleb
tarleb

Reputation: 22544

The raw RTF commands have to be marked as such, as pandoc will otherwise interpret it as a raw TeX command and throw it away.

This should do:

```{=rtf}
\page
```

Upvotes: 1

Related Questions