Quillmark
Quillmark renders Markdown into typeset PDF, SVG, and PNG documents. A quill defines the format: a schema that validates each document's fields and fills their defaults, and a plate that lays out the page (a Typst template, or a field map over an existing PDF form). Authors write only the content.
Both pages come from one Markdown file, rendered through the usaf_memo quill. Its first card, abridged (full file):
~~~
$quill: usaf_memo
letterhead_title: NORTHWIND REGIONAL AUTHORITY
letterhead_seal: ""
memo_for:
- - -
- One core, four surfaces: a Rust crate, a Python package, an npm package (WebAssembly, with a live canvas preview), and a CLI.
- Two backends: Typst typesets new pages;
acroformfills the fields of an existing PDF form. - Written by people or by LLMs: the schema emits a blueprint, an annotated Markdown form an LLM fills in, and validation reports diagnostics with machine-readable codes.
Try it in the browser: edit a document and watch the page re-render.
TongueToQuill produces Air and Space Force correspondence with Quillmark. Quillmark is not affiliated with or endorsed by the Department of Defense, the Department of the Air Force, or any Military Service.
Maintained by borb-sh.
Status
Quillmark is pre-1.0, and its API changes between minor releases. Each breaking release ships a migration guide. A document saved as versioned JSON carries a version tag, and later releases migrate supported past versions forward on read.
Documentation
- User Guide - Tutorials, concepts, and bindings
- Rust API Reference - Rust crate docs
- Changelog - Release notes and version history (GitHub Releases)
Installation
Quick Start (Rust)
use ;
// A `Quill` is declarative data: no engine needed to load it.
let quill = quill_from_path?;
let engine = new;
let markdown = r#"~~~
$quill: my_quill
$kind: main
title: Example
~~~
# Hello World
"#;
// The bound door: parse and conform against the quill that will render it.
let doc = quill.parse?.document;
// The engine reads no clock: the host passes its local date.
let today: CalendarDate = "2026-03-14".parse?;
let result = engine.render?;
let pdf_bytes = &result.artifacts.bytes;
Examples
Contributing
See CONTRIBUTING.md.
License
Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE.