-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ Fully supported output formats are: | |
- Docx, | ||
- EPUB, | ||
- groff ms, | ||
- Typst | ||
- HTML, and | ||
- LaTeX. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec | ||
hendrerit tempor tellus. Donec pretium posuere tellus. | ||
|
||
#pagebreak() | ||
|
||
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur | ||
ridiculus mus. Nulla posuere. Donec vitae dolor. | ||
|
||
#pagebreak() | ||
|
||
Pellentesque dapibus suscipit ligula. Donec posuere augue in quam. | ||
Suspendisse potenti. | ||
|
||
Final paragraph without a preceding pagebreak. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
input-files: [test/input.md] | ||
to: typst | ||
filters: | ||
- pagebreak.lua | ||
|
||
metadata: | ||
pagebreak: | ||
break-on: | ||
form-feed: true |