Skip to content

quillmark & studio

quillmark is the tool for writing quills. It lays a new quill, checks it, packs it into a .quill file, builds a site for the people who fill it in, and opens studio, a browser page that puts a quill’s form beside its rendered page.

quillmark is the full CLI. The native quillmark-cli carries its render and check for CI scripts that don’t run Node, and quillmark accepts every quillmark-cli invocation with the same result.

The quillmark README is the reference for its verbs, their flags, and deploying a site to Vercel, Netlify or GitHub Pages. Creating Quills walks through a first quill.

Several quills, or several versions of one, sit in one directory as quills/<name>/<version>/, where the name and version match what each Quill.yaml declares. quillmark’s verbs take the directory holding quills/ and act on every quill under it, and packed, the folder is a quiver: one index and a .quill per quill, which an app loads its quills from. Quill Versioning says when a change needs a new version directory.

Studio is for looking: how the form reads, how the page looks, and where a click on the page lands. It repaints whenever a file in the quill is saved. It shows errors but fails nothing; quillmark check is the check that passes or fails, and CI should run it.

Studio opens each quill on its example document: the quill filled in with every field’s example:. It also shows the blank document a new author starts from, downloads the page as a PDF, and shows the document’s Markdown.

Prettier rewrites a card’s ~~~ fence as a backtick fence, and a backtick fence opens no card, so a formatted document no longer parses. In a project that runs prettier, add a .prettierignore line for each directory holding quills or Quillmark documents:

quills/

The quillmark plugin for Claude Code builds a Typst quill from documents you already have. Hand it one to three examples as PDFs and it writes the Quill.yaml and the plate, then renders and compares until the page matches.

/plugin marketplace add birdorbs/quillmark-js
/plugin install quillmark@quillmark

Then ask for a quill and attach the examples, or run /quillmark:make-quill. The plugin measures each example, sorts its content into fixed text, fields and repeating parts, asks once for what no example shows, and stops when the render is inside 1 pt of the example or after five rounds. It finishes with a strict quillmark check and reports what matches, what it substituted and what it guessed.

The plugin also wraps a Typst template you already have. Hand it the template’s sources and example file, or run /quillmark:wrap-typst. The template is vendored into the quill unchanged and its arguments become the form’s fields: Wrap a Typst Template is the method it follows.

Quillmark is maintained by birdorbs