mdMagic MDfull context preserved
ALL IN
ONE
[ all in markdown ]

ALLInOne

One file. Full context.

Docs
说明文档
SQL
数据查询
Ops
终端命令
CRM
后台页面
API
接口调用
Chat
聊天记录
context.md
full context / one file
Full
context.
left
Human
intent / notes
shared format
Markdown
same file / same context
right
AI
reads / reasons
context file.mdllm-ready
brief + refs
# weekly review
the file carries
prompt
refs
tools
results
embedded blocks2 live examples
🔍PostgreSQL Querydefine
::define[db]{plugin="postgresql-connection"}
```config
preview
Metric
Value
Delta
WAU
18.4k
+8%
MRR
$128k
+4%
Churn
1.8%
-0.2
📈Plot Chartdefine
::define[my-line]{plugin="plot-chart"}
```config
preview
1
2
3
4
5
trend preview
brief
refs
blocks
results
[ one file, many surfaces ]

一份文件,
随处打开。

Desktop、VS Code、Web、CLI、Play。 入口会变,内容不变。

[ open surfaces ]
context.md / same file
Desktopopen
VS Codeopen
context.md
ready
Webopen
CLIopen
shell
$ magic-md run
[ok] refs loaded
[ok] blocks rendered
[ok] file synced
Playopen
[ file anatomy ]
context.mdanatomy
brief
refs
docssqlapi
blocks
🔍 PostgreSQL Query📈 Plot Chart💻 Terminal
results
prompt
context
result
[ remote engine mode ]

Beyond
local.

同一份文件,不一定在本地跑。你可以把它接到远端 Engine,继续执行同一套上下文。

file
context.md
remote
Engine
any endpoint
team engine
shared
cloud engine
remote
self-hosted
private
edge node
nearby
same runtime below
[ same runtime underneath ]

Markdown Runtime

同一份 Markdown,既装上下文,也能直接运行。插件发起调用, sidecar 连接系统,结果写回原文件。

markdown file / full context
markdown runtime
parse
route
write back
plugins
postgres
plot
terminal
sidecars
postgresql
http
docker
results return to markdown
[ markdown is the lingua franca ]