PDF Options panel
The options panel above the editor controls the output PDF:
- Page size: A4 (default), Letter, Legal, A3. Industry standards — pick what your audience prints to.
- Orientation: Portrait (default) or Landscape. Landscape is useful for wide tables or wide Mermaid diagrams.
- Margins: Narrow / Normal / Wide. Normal matches Word's default (1 in / 25 mm).
- Accent color: Default (black headings), Orange, Blue, Green, Purple, Slate. The accent applies to heading color and link underlines — pick one that matches your brand if you're producing a deliverable.
- Page numbers: off by default. When on, position is bottom-right (default), bottom-center, or top-right.
- Header / footer text: free text that prints on every page. Supports
{page},{pages}, and{date}tokens (e.g. "Page {page} of {pages}").
Values are validated against a frozen allowlist before they reach pdfmake — that's the security boundary for the page-defaults config.