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
162 B
Markdown
17 lines
162 B
Markdown
---
|
|
title: sys cwd
|
|
import:
|
|
sys: lib/sys.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**d = > sys.cwd**
|
|
|
|
**n = > len `d`**
|
|
|
|
1. `n` > 0
|
|
> print text=cwd-ok
|
|
2. *
|
|
> print text=cwd-empty
|