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>
921 B
921 B
title, description, import
| title | description | import | ||||
|---|---|---|---|---|---|---|
| web artifact render smoke | Unified View nodes + document render (ADR 0007); offline, no listen. |
|
main
nodes =
| type | slot | value | attrs | style |
|---|---|---|---|---|
| text | kicker | AI Native | eyebrow | |
| title | title | Marqdo | title | |
| link | action | Read More | /docs | button |
html = > web.render nodes=nodes title="smoke"
htmlok = > text.contains text=htmlsub="Marqdo"ok> print text=render-nodes-ok-
> print text=render-nodes-fail
print text=render-nodes-fail
doc = > web.render body="# Hello\n\nWorld" title="Doc"
ok2 = > text.contains text=doc sub="Hello"
ok2
print text=render-doc-ok
print text=render-doc-fail
insp = > web.inspect
insp
print text=inspect-ok
print text=inspect-fail