feat(parse): use nested YAML import: maps instead of one-liner binds

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>
This commit is contained in:
cflmyandCursor committed 2026-10-23 19:33:58 +08:00
1 parent 8bbe017a5e
commit 687c168014
364 files changed
+1870 -1004

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@ title: lib/browser
description: >-
Readable browser effect helpers for WASM clients. Prefer GFM tables + these
helpers; do not build effects with json.set chains.
import table:lib/table.mq.md
import:
table: lib/table.mq.md
---
Readable browser effect helpers for WASM clients. Prefer GFM tables + these helpers; do not build effects with json.set chains.
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: lib/foreign
description: Run bound code fences and inline sources via local interpreters
import table:lib/table.mq.md
import:
table: lib/table.mq.md
---
Run bound code fences and inline sources via local interpreters.
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: lib/外联
description: 通过本机解释器运行绑定的代码围栏与内联源码
import table:lib/table.mq.md
import:
table: lib/table.mq.md
---
通过本机解释器运行绑定的代码围栏与内联源码。
+2 -1
View File
@@ -2,7 +2,8 @@
title: lib/浏览器
description: >-
浏览器效应助手(WASM 客户端)。优先 GFM 表格 + 本库;勿用 json.set 链拼效应。
import table:lib/table.mq.md
import:
table: lib/table.mq.md
---
浏览器效应助手(WASM 客户端)。优先 GFM 表格 + 本库;勿用 json.set 链拼效应。