cflmy
d9aef957f7
Release 2.7.0: executable handbooks and native user-site workflows
2026-11-10 17:03:06 +08:00
cflmy
aea86746e7
feat: migrate corpus to file-scoped occlusion
2026-10-23 12:45:01 +00:00
cflmy and Cursor
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
cflmy
ecd7d5e433
examples: 新增 oa2026-showcase(2026 开源项目大赛作品介绍示例集)
...
五个可运行示例,覆盖 Marqdo 的核心能力面:
| 文件 | 展示 |
|------|------|
| add.mq.md | 叙述统一、粗体即代码、斜体即返回 |
| invoice.mq.md | 表格即数据、循环、分支、断言 |
| calculus.mq.md | 公式即变量、求导、求根、绘图 |
| bell.mq.md | 量子电路、概率、断言、SVG 派生物 |
| foreign-node.mq.md | 外联一次性执行、持久会话、显式传值 |
全部实测跑通(1.5.2),输出与 README「预期输出」一节一致:
- add → 42
- invoice → 960 / 912 / 966 / within-cap
- calculus → 3*x^2 - 3 / 9 / [-1.73, 0, 1.73] / plot-ok
- bell → {00: 0.5, 11: 0.5} / bell-00-ok / bell-11-ok / bell-draw-ok
- foreign-node → 区域汇总表 + 持久会话复读
仓库侧改动:
- examples/oa2026-showcase/*.svg 随示例入库(README 有说明,属固定产物)
- .gitignore 忽略根目录 bell-*.svg / calculus-*.svg —— 从仓库根运行示例时
draw/plot 会把 SVG 写到 cwd,那是运行产物不是源文件
- examples/marqdo-blog/db/posts.mq.md 首行正文去掉了内嵌 `#` 标题写法
2026-10-22 10:41:41 +08:00
cflmy and Cursor
ff252fd469
feat(web): land Artifact serve/endpoint path and retire compose golds
...
Wire data_source into Document render, register Endpoint handlers via
run_artifact, restore marqdo-blog as an Artifact site, and replace old
compose_* web golds with ADR 0007 fixtures and docs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-28 11:36:45 +08:00