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>
19 lines
207 B
Markdown
19 lines
207 B
Markdown
---
|
|
title: subtask foreign spawn
|
|
import:
|
|
subtask: lib/subtask.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
`py` =
|
|
```python
|
|
print(7 + 8)
|
|
```
|
|
|
|
**id = > subtask.spawn code=`py`**
|
|
|
|
**out = > subtask.wait id=`id`**
|
|
|
|
> print text=`out`
|