Files
marqdo/tests/notebook/no-foreign.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

33 lines
784 B
Markdown

---
title: View without foreign
description: A pure Marqdo document — formula, table, plot and prose, no external kernel
import:
math: lib/math.mq.md
---
# main
This page has no foreign import and no ` ```lang ` code cell. It is still opened by the same `view` surface, with the same toolbar and layout. The cell list is simply empty.
The formula is ordinary Marqdo data:
$$
% marqdo: var=f
x^2 - 2
$$
**_plot = math.plot formula=`f` var="x" min=-4 max=4**
| region | orders | revenue |
|--------|--------|---------|
| 华东 | 45 | 56253 |
| 华南 | 45 | 67187 |
| 华北 | 45 | 65272 |
| 西部 | 45 | 66884 |
**total = 56253 + 67187 + 65272 + 66884**
> print text=`total`
This is the control page: no foreign, no cells, no separate mode. The same view shell is used.