Skip to content
Kitbay
Skill

make-pdf

MITUpdated on Nov 11, 2026141,174GitHub starsIncludes scripts

A skill in Garry Tan's gstack collection that turns a Markdown file into a typeset PDF.

What the skill teaches

A skill in Garry Tan's gstack collection that turns a Markdown file into a typeset PDF. The agent first checks that gstack's make-pdf binary has been built, then runs it to render a document, optionally with a cover page, table of contents or a diagonal draft watermark, or opens an HTML preview in a browser for quicker iteration. Printing goes through the Aside browser on macOS when it is running and otherwise through gstack's own headless browser. It only works after gstack has been installed and its setup script run, and the skill begins with gstack's shared start-up and telemetry preamble.

Capabilities

  • Render a Markdown file to PDF
  • Add a cover page and table of contents
  • Stamp a draft watermark on pages
  • Preview the rendered HTML in a browser