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
185 B
Markdown
17 lines
185 B
Markdown
---
|
|
title: foreign python hello
|
|
import:
|
|
foreign: lib/foreign.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
`hi` =
|
|
```python
|
|
print("hello-from-python")
|
|
```
|
|
|
|
**out = > foreign.run code=`hi`**
|
|
|
|
> print text=`out`
|