Files
marqdo/public/structure/import/主.mq.md
T
cflmyandCursor ecc92f473a Unify frontmatter imports as import bind:target and drop > imports.
`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format`
binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use`
now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples,
man-test and tests; adds a negative gold and updates view/catalog rendering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 10:03:21 +08:00

343 B


title: 跨文件导入 description: frontmatter 导入 bind:路径.mq.md 导入 工具:工具.mq.md

main

在 YAML 头里写 导入 工具:工具.mq.md 可导入同级模块并绑定库名「工具」。

绑定返回值、打印,再调用问候:

y = > 工具.加一 n=41

打印 内容=y

工具.问候 谁=Marqdo