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>
17 lines
270 B
Markdown
17 lines
270 B
Markdown
---
|
|
title: sys dotenv
|
|
import:
|
|
sys: lib/sys.mq.md
|
|
fs: lib/fs.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
> fs.write_text path=dotenv-fixture.env text=MARQDO_DOTENV_FIXTURE=loaded
|
|
|
|
> sys.load_dotenv path=dotenv-fixture.env
|
|
|
|
**v = > sys.env_get name="MARQDO_DOTENV_FIXTURE"**
|
|
|
|
> print text=`v`
|