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>
274 B
274 B
title, import
| title | import | ||||
|---|---|---|---|---|---|
| subtask spawn fn |
|
main
args = > json.parse text={"n":21}
id = > subtask.spawn fn="worker" args=args
v = > subtask.wait id=id
print text=
v
worker
+ `n`
n * 2