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>
357 B
357 B
title, description, import
| title | description | import | ||||
|---|---|---|---|---|---|---|
| plugin demo ABI | Loads demo cdylib; path from MARQDO_TEST_PLUGIN (set by gold harness). |
|
main
p = > sys.env_get name="MARQDO_TEST_PLUGIN"
plugin.load path=
p
sum = > demo_add a=1 b=2
print text=
sum
echo = > demo_echo text="ok"
print text=
echo