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>
20 lines
303 B
Markdown
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`
|