Files
marqdo/tests/lib/encoding-smoke.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

20 lines
303 B
Markdown

---
title: lib/encoding smoke
import:
enc: lib/encoding.mq.md
---
# main
**b = > enc.base64_encode text="hello"**
> print text=`b`
**back = > enc.base64_decode text=`b`**
> print text=`back`
**h = > enc.hex_encode text="hi"**
> print text=`h`
**hb = > enc.hex_decode text=`h`**
> print text=`hb`