` (empty or self-closing) or `
` carrying a page-break
directive forces a new page — the classic use is starting the *Certificate
of Service* on its own page:
```markdown
####
CERTIFICATE OF SERVICE
```
Details:
- Accepted directives: `page-break-before: always`, `page-break-after:
always`, and the CSS-3 fragmentation spellings `break-before: page` /
`break-after: page`. A trailing `!important` is tolerated.
- The element itself prints nothing — unless it is *also* visible in its own
right (e.g. a signature line with a `border-bottom` plus the directive), in
which case it breaks on the side the directive names and still renders.
- Only **bare, top-level** elements break. A content-carrying div never
becomes a page break, and a break div nested *inside* a wrapper div is
ignored (the wrapper renders normally).
- A plain Markdown `---` divider is unaffected — it stays a horizontal rule.
## Legal-mode pagination
With a **legal-mode** profile (e.g. the built-in *Court Filing*), body
paragraphs and list items **flow across page boundaries**: a paragraph that
doesn't fit the remaining space splits at a line and continues on the next
page, so every page fills top to bottom the way a court filing must. Legal
mode also sets body text — captions, list markers and plain `
`s
included — at a uniform **12pt** (Markdown headings keep their own sizes;
`#####` renders a 12pt bold title) and keeps one
continuous double-spaced rhythm across paragraph breaks. Headings, caption
rows, signature lines, quotes, tables and images never split.
## Limitations
- **Spans wrapping Markdown syntax.** When a span wraps Markdown emphasis or
a link (e.g. `**bold**`), the Markdown
parser splits the tags away from the inner element. The tags never leak
and the emphasis still renders, but the span's own colour/weight is not
applied to that inner element. Style the plain text directly instead.
- **Entities in code.** HTML entities are decoded in prose but left verbatim
inside code spans and code blocks (by design).
- **Everything else is text.** HTML tags outside this subset are not
interpreted by the PDF renderer.
## See also
- **[Print & branding profiles](print-profiles.md)** — fonts, colours,
headers/footers, watermarks, and the legal / manuscript layout options
(double spacing, justification, first-line indent, centred headings).
- **[AI profile authoring](ai-profile-authoring.md)** — have an AI generate
an importable print profile from a plain-English description.