Files
marqdo/tests/markup-v03
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00
..

Markup v0.3 金样例

设计 markdown-mapping-v0.3.md
路线 markup-v0.3.md
状态 现行运行时(无 --markup 旗标 · 无 v0.2 兼容)

约定

  • 文件使用 v0.3 表面语法(粗体代码、斜体返回、叙述 `名` 声明、形参体推断)。
  • tests/gold.rs 中 markup_v03_* 为门禁。

清单

见各 .mq.md frontmatter;汇总期望以 gold.rs 为准。

代码即文档叙述面(G1–G4):module-hr / soft-emphasis / float-discount / dynamic-footnote —— 设计见 code-as-docs-gaps.md。

块公式 meta / 控制流叙述:formula-meta-var / inline-dollar-formula / branch-arm-prose / branch-cond-narrative / foreach-narrative / foreach-nested-link —— 见 fence-meta-and-control-prose.md。

cargo test --test gold markup_v03
marqdo run tests/markup-v03/inc-prose.mq.md