Files
marqdo/public/structure/import/main.mq.md
T
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

364 B


title: Cross-file import description: Frontmatter nested import: map import: utils: utils.mq.md

main

In the YAML header, nested import: with utils: utils.mq.md imports a sibling module and binds the library name utils.

Bind a return value, print it, then call greet:

y = [utils.add_one] n=41

print text=y

utils.greet who=Marqdo