quarkdown
Skill này làm gì
Quarkdown là định dạng viết thêm bố cục, hàm và công thức toán vào Markdown thuần. Skill này dành cho người muốn có bài viết, báo cáo hoặc slide được dàn trang đẹp.
Khi nào nên dùng
- ✓Khi bạn muốn một bài viết, báo cáo hoặc sách được dàn trang đẹp hơn với nhiều kiểm soát bố cục hơn Markdown thuần.
- ✓Khi bạn cần biến một kế hoạch thành tài liệu sẵn sàng trình bày hoặc slide.
- ✓Khi bạn đang sửa một file .qd có sẵn và cần thêm hàm hoặc bố cục.
Liên kết skill
https://github.com/iamgio/quarkdown/blob/main/skills/quarkdown/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy viết giúp tôi một báo cáo ngắn theo định dạng Quarkdown mà tôi có thể xuất ra PDF.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent viết văn bản với các lời gọi hàm đơn giản và lệnh bố cục, rồi công cụ Quarkdown biên dịch file thành HTML, PDF hoặc văn bản thuần. Skill chỉ agent đến một wiki đi kèm để tra cứu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Locate the install dir (snippet above).
- Read
docs/wiki/_nav.qd, thendocs/wiki/quickstart.qdif you don't know the syntax yet. - Read the specific wiki pages relevant to the task, and stdlib API pages under
docs/when you need exact function signatures. - Write the
.qdfile. - Compile to verify:
quarkdown c <main>.qd --strict --out /tmp/quarkdown-verify.<main>is usuallymain.qdbut confirm against the project.--strictsurfaces errors;--out /tmp/quarkdown-verifykeeps build artifacts out of the user's project (otherwise output lands in./quarkdown-outputrelative 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.
- PDF export (
- Report any compile errors back to the user.
Câu hỏi thường gặp
Tôi có cần biết Markdown trước không?
Biết sẽ có ích, vì Quarkdown mở rộng Markdown, nhưng skill được viết để agent có thể làm theo hướng dẫn đi kèm.
Nó có thể thiết lập dự án mới cho tôi không?
Skill yêu cầu bạn tự chạy lệnh quarkdown create, vì đây là một trình hướng dẫn tương tác.
Trợ giúp đến từ đâu?
Bản cài Quarkdown có một wiki ngoại tuyến và tài liệu tham chiếu thư viện chuẩn mà agent đọc.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 16k
- Vị trí xếp hạng
- #10802
- Giấy phép
- GPL-3.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.