quarkdown
Quarkdown
Quarkdown is a Turing-complete Markdown flavor and typesetting system. Sources are .qd files. The compiler produces HTML, PDF (via Puppeteer), or plain text. Think "Markdown that can do what LaTeX does", with first-class functions, variables, loops, and conditionals.
This skill is the field manual: how to think in Quarkdown, the function call syntax that everything else builds on, the patterns that produce good documents, and the traps that produce broken ones.
When to reach for which feature
Always start by deciding the document type — it changes layout, page behavior, footnote rendering, and which functions even apply.
| User wants… | Use .doctype |
Notes |
|---|---|---|
| A note, blog post, README-like page | plain |
Continuous flow, no page breaks. Sidenote-style footnotes. |
| A book, article, report, thesis, paper | paged |
Page breaks, page numbers, default LaTeX-like numbering. |
| A presentation, lecture, talk | slides |
One slide per H1, fragments, transitions. |
| A wiki, knowledge base, technical docs | docs |
Sidebar nav, search, multiple subdocument files. |
Then pick a theme combination. Defaults are fine; explicit common picks: paperwhite + latex (academic), darko + minimal (dark, clean), galactic + hyperlegible (highly readable web), beaver + beamer (academic slides).