Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
296 B
Markdown
18 lines
296 B
Markdown
---
|
|
title: Cross-file import
|
|
description: Frontmatter `> file.mq.md` merges modules
|
|
> utils.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
In the YAML header, `> utils.mq.md` imports a sibling module.
|
|
|
|
Bind a return value, print it, then call greet:
|
|
|
|
*`y` = > utils.add_one n=41*
|
|
|
|
> print text=`y`
|
|
|
|
> utils.greet who=Marqdo
|