Bind `lang fences like formulas, run them via local interpreters, polish live-view code cards, and refresh bilingual welcome docs. Co-authored-by: Cursor <cursoragent@cursor.com>
用户文档(可执行 · 可下载 · 中英双语)
本目录即面向访客的 Marqdo 介绍:每个 .mq.md 既是文稿也能 marqdo run,并随仓库 / 静态站一起下载。
双语约定: 拉丁文件名 → 英文叙述与英文内置;中文文件名 → 中文叙述与中文编程。成对放在同一目录。标准库:拉丁路径用英文 API,中文路径用中文 API;JSON 仅 lib/json.mq.md。
| 路径 | 内容 |
|---|---|
00-welcome.mq.md / 00-欢迎.mq.md |
首页(英 / 中) |
structure/ |
基本结构 |
keywords/ |
关键字与 L0 内置 |
stdlib/ |
标准库(导入方式 + text/表/文件/时间/系统/json/网络/数学/外联) |
features/ |
特性迭代 |
不放 errors/:失败样例只在 tests/errors/。
开发文档在 doc/。
浏览与生成 HTML
cargo run -- view public
cargo run -- view output public -o public
详见 user-site.md。