How to Force a Page Break in Markdown
March 11, 2025
By Frank Strube
Markdown is a great format if you're planning to display it on the web, but it wasn't designed for paged media (aka printing). Seeing as that is the case, Markdown lacks the ability to control when to break to the next page in a document. Until now, that is.
With SlickPDF, you can add a page break with a simple HTML tag. Check out the video below to see this in action.