Mela Letterhead — Write the document in Markdown. Get it back on your own paper.
A command-line tool that puts a real letterhead around a Markdown file — the band
across the top of page one, the small running header on the pages after it, the footer
with the legal and banking details on the last — and hands back a PDF.
The paper is described once, in a single letterhead.yaml: how many fields sit in the
header, what the footer columns say, which colours and fonts it uses. Documents are
plain Markdown and never contain layout, so nothing drifts between a quotation written
today and one written two years ago. Every label can be written once per language,
which is why the same configuration prints an Angebot and an offerta without a
second copy of itself. No logo sets the brand name in type instead, at the size the
logo would have had — a finished letterhead, not a fallback.
Underneath it is Pandoc and Typst, so the typesetting is real typesetting rather than
HTML pretending to be a page. All resolution — language, units, defaults, validation —
happens in Python, and the Typst module receives a structure with one language already
chosen and every length already a number of points. It holds no brand, no language and
no document, which is why it never needs editing to print somebody else’s paper.
It runs on your machine, against files you own, with no account and nothing uploaded.
Invoices and contracts are exactly the documents that should never have needed a
service in the middle.