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>
596 B
596 B
markup, title, description, import
| markup | title | description | import | ||||
|---|---|---|---|---|---|---|---|
| occlusion | Mid stdlib — csv and text | lib/csv + thickened lib/text (Mid M4) |
|
CSV cleaning with text helpers
Parse a tiny CSV, normalize a field, print — no plugins.
main
raw = "name,city\nAda,london\nBob,PARIS\n"
rows = > csv.parse text=raw
r0 = > at value=rows index=0
city = > text.to_upper text=city)
print text=name) print text=
cityn = > lenrows
n== 2
print text=mid-m4-ok
print text=mid-m4-fail