Files
Raymond Berger c93acab035 Add support for reading typst pagebreak (#11126)
The pagebreak is parsed as a HorizontalRule inside a wrapper Div with class `page-break`.

Closes #11101.
2025-09-10 09:56:16 +02:00

276 B

% 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." ]
]