hn.today

QuarkDown: Markdown with Superpowers

github.com9 points0 comments
Screenshot of QuarkDown: Markdown with Superpowers

Quarkdown is a modern, Markdown-based typesetting system that extends CommonMark/GFM with Turing-complete scripting and function calls to turn a single source into books, papers, docs, slides or plain websites. It adds first-class functions, variables and a growing standard library (layout builders, I/O, math, conditionals, loops) so repeated or dynamic content becomes one-line calls; examples show custom functions, table-of-contents, multi-column layouts and image grids. Designed for speed and interactivity, it offers low-latency live preview (the official wiki compiles in ~2s), built-in agent-friendly skills, restrictive runtime permissions for security, and editor support (VS Code, unofficial IntelliJ). Output targets include HTML, paged (paged.js) for print, reveal.js slides, DOCS/wiki, PDF (via a Chromium headless browser), GFM export and plain text; document type is set inside the source with .doctype.

Implementation and tooling are production-ready: a multi-module project with CLI tooling (quarkdown c file.qd), a project wizard (quarkdown create), install scripts for macOS/Linux, Homebrew, Windows installers and a GitHub Actions setup for CI/CD. Manual builds use gradlew; PDF export requires a Chromium-family browser. A comparison table positions Quarkdown as concise, scriptable and offering full document control versus LaTeX, Typst, AsciiDoc and MDX. The project is active and popular (≈3,835 commits, ~16.2k stars, 509 forks) with extensive docs, demos and a quickstart to bootstrap new projects.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.