Quarkdown compiles extended Markdown into books, papers, slides, wikis, and static sites. One project can target HTML, PDF, Markdown, or plain text.
Overview
Quarkdown is a typesetting system built on CommonMark and GitHub Flavored Markdown, extended with functions, variables, and Turing-complete scripting inside Markdown source. A single project can be compiled into print-oriented pages, continuous-flow notes, documentation sites, or interactive presentations depending on document type settings.
Authors choose output shapes such as plain flow, paged articles, slide decks, or docs-style wikis. Export paths include HTML, PDF, GFM Markdown, and plain text, with PDF export relying on a Chromium-family browser. Compilation is exposed through a command-line tool with options for preview, watch mode, and project scaffolding.
The toolchain emphasizes reusable functions, package and template libraries, layout control, and a restrictive default permission model for scripting. Live preview and watch modes support iterative editing, and editor extensions are available for VS Code.
Installation is supported on Linux, macOS, and Windows through install scripts, Homebrew, Scoop, or manual distribution archives, with optional GitHub Actions integration for automated builds.
Key features
- Scriptable Markdown flavor
- Multiple document type targets
- HTML and PDF export
- Live preview and watch mode
- CLI project wizard
- VS Code editor extension
- Permission-limited scripting
- REPL for experimentation
Use cases
- Academic papers and books
- Technical wikis and docs
- Static personal websites
- Slide-based presentations