Files
marqdo/public/features/15-toml-html-encoding.mq.md
T
cflmyandCursor 687c168014 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>
2026-10-23 19:33:58 +08:00

648 B

markup, title, description, import
markup title description import
occlusion Mid stdlib — toml, html, base32 Config TOML + HTML escape + base32 (Mid2 M8)
toml html enc
lib/toml.mq.md lib/html.mq.md lib/encoding.mq.md

Config and safe text without plugins

Parse a TOML subset for tools, escape HTML before assembly, encode with base32.

main

cfg = > toml.parse text="app = "demo"\n[server]\nport = 8080\n"

print text=app) srv = server) print text=port)

safe = > html.escape text=""

print text=safe

b = > enc.base32_encode text="ok"

print text=b