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>
689 B
689 B
markup, title, import
| markup | title | import | ||
|---|---|---|---|---|
| occlusion | lib/url smoke |
|
main
u = > url.parse text="https://example.com:8443/a/b?x=1&y=2#frag"
print text=scheme) print text=host) print text=port) print text=path) print text=query) print text=fragment)
q = > url.query_parse text="a=1&b=hi%20x&a=2"
print text=b) as = a) a0 = > at value=
asindex=0 a1 = > at value=asindex=1 print text=a0print text=a1
s = > url.query_stringify map=q
print text=
s