Files
marqdo/tests/markup-v03/README.md
T
cflmyandCursor 5e74ff39f2 feat(markup): code-as-docs narration surface (G1–G4) and drop --- body end
Treat --- as Markdown HR everywhere, end side-effect helpers with empty returns,
and accept soft emphasis, float literals, and dynamic footnote keys so LLM-friendly
.mq.md stays runnable. Ship the weekend coffee example plus gold fixtures.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 10:16:48 +08:00

24 lines
810 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Markup v0.3 金样例
| | |
|---|---|
| 设计 | [markdown-mapping-v0.3.md](../../doc/design/markdown-mapping-v0.3.md) |
| 路线 | [markup-v0.3.md](../../doc/roadmap/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](../../doc/design/code-as-docs-gaps.md)。
```bash
cargo test --test gold markup_v03
marqdo run tests/markup-v03/inc-prose.mq.md
```