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>
16 lines
234 B
Markdown
16 lines
234 B
Markdown
---
|
|
title: 跨文件导入示例
|
|
import:
|
|
utils: utils.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
导入 `utils.mq.md` 后:用返回值绑定,再输出;并直接调用问候。
|
|
|
|
**y = > utils.加一 n=41**
|
|
|
|
> print text=`y`
|
|
|
|
> utils.问候 谁=Marqdo
|