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>
This commit is contained in:
1 parent
b5c07385e9
commit
5e74ff39f2
28 files changed
+799
-99
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 函数结束 — 分割线
|
||||
description: --- 结束嵌套函数体,后续调用属于外层
|
||||
title: 函数体内 --- 为叙述分隔
|
||||
description: 分割线不再收束函数;嵌套 ## 在下一标题或空返回处结束
|
||||
---
|
||||
|
||||
# main
|
||||
@@ -13,3 +13,5 @@ description: --- 结束嵌套函数体,后续调用属于外层
|
||||
> print text=Hello `谁`!
|
||||
|
||||
---
|
||||
|
||||
叙述分隔线可写在函数体里,不结束函数;本例下一行已是文件尾,问候在 EOF 结束。
|
||||
Reference in new issue
Block a user