mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-03 06:05:45 +00:00
The pagebreak is parsed as a HorizontalRule inside a wrapper Div with class `page-break`. Closes #11101.
15 lines
276 B
Markdown
15 lines
276 B
Markdown
```
|
|
% pandoc -f typst -t native
|
|
First paragraph.
|
|
|
|
#pagebreak()
|
|
|
|
Second paragraph.
|
|
^D
|
|
[ Para [ Str "First" , Space , Str "paragraph." ]
|
|
, Div
|
|
( "" , [ "page-break" ] , [ ( "wrapper" , "1" ) ] )
|
|
[ HorizontalRule ]
|
|
, Para [ Str "Second" , Space , Str "paragraph." ]
|
|
]
|
|
``` |