Markdown to PDF with custom header and footer
Headers and footers are the chrome that turns a 'document made in Markdown' into a 'document'. They cost almost nothing and instantly carry intent.
What the header can show
Top-right corner of every page: the logo you uploaded in the Brand section. Maximum height ~22pt. Renders on the cover, the ToC, and every body page. Toggle 'Show logo on every page' to control whether it appears.
There is no separate 'page title in the header' field - that's deliberate. The cover page carries the title once; the rest of the document doesn't need to repeat it.
What the footer can show
- **Left** - Footer text. A short label like 'Confidential', 'Internal - do not distribute', 'Draft 2'.
- **Center** - Page number, formatted '1 / N' in the mono font of the active font family.
- **Right** - Currently unused.
Default footer behaviour per template
Most templates default to: page numbers ON, footer text empty. Invoices and resumes default to: page numbers OFF (one-page documents don't need them). Memos default to: footer text 'Internal' or similar, page numbers ON.
Override either field in the Page section. The defaults are starting points, not rules.
FAQ
Can I have different headers on cover and body pages?
The logo, when shown, appears on every page including the cover. Page numbers are excluded from the cover and ToC by default - body numbering starts at '1'. Different content per page beyond that is not currently supported.
Can the footer show the date or my name?
Use the Footer text field for any short string you want - it can be the date, your name, the document version. The field is a free string.
What font does the footer use?
The mono pair of the active font family - Space Mono, GeistMono, IBM Plex Mono, or Courier (for DOCX). The mono face keeps the page numbers from competing with the body type.
Related
https://md2document.com/markdown-to-pdf-with-header-and-footer/