Documark plugin for converting horizontal rules to page breaks.
-
Add plugin to document configuration:
plugins: - dmp-hr-to-page-break
-
Add horizontal rules for forced page-breaks:
<hr/>
in HTML;hr
in Jade;---
in Markdown.
Note: An <hr/>
element with attributes will not be replaced.