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>
749 B
749 B
title, description, import
| title | description | import | ||||||
|---|---|---|---|---|---|---|---|---|
| async writeback via subtask | Fire-and-forget persist_slot with explicit line=; join on exit. |
|
persist_slot
+ `key`
+ `value`
+ `line`
writeback.ensure key="ok" placeholder="pending" line=
linewriteback.ensure key="error" placeholder="pending" line=linewriteback.record value=valuekey=keyline=line
main
anchor = > host_outer_call_line
wb = > json.parse text={"key":"ok","value":"async-ok"}
wb = > json.set map=wb key=line value=anchor
subtask.spawn fn=persist_slot args=
wb
print text=spawned