Skip to content
aicoolies logo
Quarkdown logo

Quarkdown

Programmable Markdown typesetting for docs, books, and slides

Quarkdown is a Turing-complete Markdown typesetting system that compiles a single source into print-ready books, academic papers, knowledge bases, or interactive presentations. It extends Markdown with a built-in scripting language featuring functions, variables, and a standard library for full document control. Supports HTML, PDF, and plain text output with live preview and real-time reloading during authoring.

About Quarkdown

Quarkdown is a Turing-complete extension of Markdown that transforms a single source project into multiple output formats including print-ready books, academic papers, interactive presentations, and static websites. Built on CommonMark and GFM foundations, it introduces functions, variables, conditional statements, and loops directly into Markdown syntax, creating a programmable typesetting system where content and logic coexist in readable documents. The rendering pipeline supports three output modes: paged output via paged.js for papers, articles, and books with proper pagination; slide output via reveal.js for interactive presentations; and plain continuous flow for Notion-style knowledge bases and static sites.

The standard library provides an expanding collection of layout builders, I/O operations, math functions, and control flow constructs that can be composed into complex document structures. Authors define custom functions and variables within their Markdown files, enabling reusable components, dynamic content generation, and conditional sections based on output target. A VS Code extension powered by a dedicated language server delivers syntax highlighting, intelligent completions, live in-editor preview, documentation browsing, and real-time diagnostics. The project wiki at quarkdown.com/wiki is itself built with Quarkdown, serving as both documentation and a production demonstration of the system's capabilities.

Written in Kotlin and requiring Java 17+, Quarkdown has accumulated over 10,300 GitHub stars under the GPL-3.0 license. The project maintains an active release cadence with features like multi-file projects, bibliography management, and cross-reference linking added in recent versions. It occupies a unique position between simple Markdown renderers like Docusaurus and full typesetting systems like LaTeX, offering programmatic power without abandoning Markdown's readability. The single-source multi-output approach makes it particularly valuable for technical authors who need to maintain documentation, presentations, and published papers from one canonical source.

Pricing & Platform Specs

Pricing Summary

Quarkdown is an open-source, Turing-complete Markdown typesetting framework licensed under GPLv3 and AGPLv3. It is completely free for local and self-hosted compilation.

Supported Platforms

macOS, Linux, Windows — Java 17+, optional Node.js for PDF

Explore categories, tags & use cases

MIT-licensed API documentation framework by Zuplo

Zudoku is an MIT-licensed API documentation framework built by the team behind Zuplo API gateway. It generates developer portals from OpenAPI specs with features like interactive API playground, markdown content pages, authentication integration, and search. Designed as a free alternative to ReadMe and Stoplight with customizable themes and plugin architecture.

Open Source

Modern API documentation platform and OpenAPI reference generator

Scalar is an API documentation platform that generates beautiful, interactive API references from OpenAPI specifications. It provides a modern OpenAPI reference interface with dark mode, request examples in multiple languages, and a built-in API client. Available as open-source packages for any framework or as a hosted platform.

freemiumOpen Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Quarkdown?

Quarkdown is a Turing-complete Markdown typesetting system that compiles a single source into print-ready books, academic papers, knowledge bases, or interactive presentations. It extends Markdown with a built-in scripting language featuring functions, variables, and a standard library for full document control. Supports HTML, PDF, and plain text output with live preview and real-time reloading during authoring.

Is Quarkdown free?

Yes — Quarkdown is open source and free to use. Quarkdown is an open-source, Turing-complete Markdown typesetting framework licensed under GPLv3 and AGPLv3. It is completely free for local and self-hosted compilation.

Is Quarkdown open source?

Yes — Quarkdown is open source.

Is Quarkdown still maintained?

Yes — Quarkdown is active. Its listing was last verified on August 26, 2026.

What are the best Quarkdown alternatives?

The first editor-selected Quarkdown alternatives are Zudoku, Scalar.