Skip to content
Skillpedia
Writing16k · #10802

quarkdown

What it does

Quarkdown is a writing format that adds layouts, functions, and math to plain Markdown. This skill is for people who want typeset articles, reports, or slides.

When to use it

  • ✓When you want a polished article, report, or book with more layout control than plain Markdown.
  • ✓When you need to turn a plan into a presentation-ready document or slides.
  • ✓When you are editing an existing .qd file and need to add functions or layouts.

Skill link

https://github.com/iamgio/quarkdown/blob/main/skills/quarkdown/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/iamgio/quarkdown/blob/main/skills/quarkdown/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Write me a short report in Quarkdown format that I can export as a PDF.”

5 new skills a week. 1 minute to read.

How it works

The agent writes text with simple function calls and layout commands, and the Quarkdown tool compiles the file into HTML, PDF, or plain text. The skill points the agent to a bundled wiki for help.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Quarkdown

Quarkdown is a Markdown flavor and typesetting system. It compiles .qd source files to HTML, PDF, or plaintext, extending CommonMark/GFM with function calls, variables, layouts, math, custom themes, and document types. Think of it as a more readable LaTeX.

When to use

Use this skill when the user wants to write or edit a .qd file, or asks for typeset output (PDF, slides, paged article, themed wiki) instead of plain Markdown. Also when they want a polished, shareable version of a plan or report.

Do not use it when plain Markdown is the final target (chat, READMEs, GitHub issues).

New projects

If the user wants to start a new Quarkdown project, tell them to run quarkdown create [dir] themselves. It's an interactive wizard that prompts for values. Don't scaffold project files by hand.

Locating the bundled docs

Quarkdown ships a full offline copy of its wiki and stdlib API reference. Resolve the install dir once:

QUARKDOWN_INSTALL="$(quarkdown doctor get install-dir)"

Resources under $QUARKDOWN_INSTALL:

  • docs/wiki/_nav.qd: wiki index. Start here to find pages by topic.
  • docs/wiki/*.qd: individual wiki pages.
  • docs/wiki/quickstart.qd: read this first if you are new to Quarkdown.
  • docs/quarkdown-stdlib/: stdlib API reference (function signatures, parameters, return types) as HTML.

Read the relevant wiki pages before writing anything non-trivial.

Workflow

  1. Locate the install dir (snippet above).
  2. Read docs/wiki/_nav.qd, then docs/wiki/quickstart.qd if you don't know the syntax yet.
  3. Read the specific wiki pages relevant to the task, and stdlib API pages under docs/ when you need exact function signatures.
  4. Write the .qd file.
  5. Compile to verify: quarkdown c <main>.qd --strict --out /tmp/quarkdown-verify. <main> is usually main.qd but confirm against the project. --strict surfaces errors; --out /tmp/quarkdown-verify keeps build artifacts out of the user's project (otherwise output lands in ./quarkdown-output relative to your CWD).
    • PDF export (--pdf) is slower because it spins up a headless browser. Only use it when the user asks for a PDF.
    • Never run live preview (-p, -w) yourself; it starts a long-running web server. Suggest the command to the user instead.
  6. Report any compile errors back to the user.
FAQ

Do I need to know Markdown first?

It helps, since Quarkdown extends Markdown, but the skill is written so the agent can follow the bundled guide.

Can it set up a new project for me?

The skill asks you to run the quarkdown create command yourself, because it is an interactive wizard.

Where does the help come from?

The Quarkdown install includes an offline wiki and standard library reference that the agent reads.

Details

Original description by the author

Author Quarkdown (.qd) documents, a Markdown-superset typesetting language that compiles to HTML, PDF, or plaintext. Use when the user wants to write or edit .qd files, produce typeset output (articles, reports, slides, books, wikis, notes, static sites) beyond what plain Markdown offers, or share structured plans in a presentation-ready format. Quarkdown adds function calls (`.func {arg}`), variables, layouts, math, diagrams, and document types (plain/paged/slides/docs).

repo: iamgio/quarkdown

Popularity

GitHub stars
16k
Ranking position
#10802
License
GPL-3.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

Similar skills