Skip to main content

markdown_page_break

Function markdown_page_break 

Source
pub fn markdown_page_break() -> String
Expand description

A raw HTML block standing in for a page break in Markdown.

Markdown has no page-break construct — not in CommonMark, not in any widely-implemented extension. Of the three conventions in the wild (a bare U+000C, an HTML-comment sentinel a toolchain greps for, and this) only this one does anything without a bespoke processor: it survives Pandoc’s reader as raw HTML, reaches HTML output intact, and is honoured by browser and EPUB print engines. It renders as nothing on screen.