aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRaymond Berger <[email protected]>2025-09-10 03:56:16 -0400
committerGitHub <[email protected]>2025-09-10 09:56:16 +0200
commitc93acab035e9f7f3576199ce1bf4009cc4530dcf (patch)
tree587d084090bf7d18aacd69b69adc58c215c676a1 /test
parent71a0c5c61ef303b3d7889a3a1e0d26f0b92c59d8 (diff)
Add support for reading typst pagebreak (#11126)
The pagebreak is parsed as a HorizontalRule inside a wrapper Div with class `page-break`. Closes #11101.
Diffstat (limited to 'test')
-rw-r--r--test/command/11101.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/11101.md b/test/command/11101.md
new file mode 100644
index 000000000..77ce03045
--- /dev/null
+++ b/test/command/11101.md
@@ -0,0 +1,15 @@
+```
+% 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." ]
+]
+``` \ No newline at end of file