Letterhead
A business letter is mostly structure: an address block that has to land inside the envelope window, a subject line, fold marks at the right millimetre. Letterhead treats that structure as data. The note's frontmatter carries the metadata — sender, recipient, subject, enclosures — and the note body is the letter text. One command turns it into a finished, formatted letter and exports it to PDF: on the desktop through the print dialog, on iPhone and iPad as a real, text-selectable PDF shared with a single tap.
Why this one
German DIN 5008 is exacting — the address block, the fold and hole marks, the continuation-page margins all have paper-exact positions, and getting them wrong means the letter doesn't sit right in a window envelope. The usual answer is a template full of fragile CSS. Here the geometry is the plugin's job, not yours: you write the note, pick a layout, and the DIN positions come out right. And it stays local-first — no network, no telemetry, no Electron. The mobile PDF is generated inside the plugin from the standard PDF typefaces, so a letter is a tiny vector file that opens identically anywhere.
What it does
- Two layouts —
DIN 5008(German standard, window-envelope ready) andModern(international), switched in the settings. - PDF everywhere — desktop via the OS print dialog; iPhone/iPad as a one-tap vector PDF through the system share sheet.
- Metadata from frontmatter — recipient and sender as YAML, subject, salutation, closing, info block, enclosures — with German and English field aliases. A command scaffolds the fields.
- Bilingual — the UI follows Obsidian's language; the letter language (Anlagen/Enclosures, Ihr Zeichen/Your ref.) is a separate per-letter setting.
- DIN extras — fold marks, hole mark, print-offset fine-tuning so the address block aligns with the envelope window.
- Fully offline — no network calls, no tracking.
Under the hood
The PDF engine is dependency-free — no Electron, no Node, no build step. The released main.js is the committed source, unminified and unbundled, so you can audit exactly what runs; releases carry a Sigstore/SLSA build-provenance attestation. The technical reference — frontmatter fields, settings, CSS design tokens, the DIN measurements — stays in the repo.
Repository
git.jkaindl.de/jkaindl/obsidian-letterhead — install from Obsidian's Community Plugins (search Letterhead).
See also: zettelkasten