Web Device Markdown 结构——不是 AUP primitive;不是 theme/site layout 组件。
Sample 合同
| 字段 | 值 |
|---|---|
| 目的 | 在内容 Markdown 中编写静态 GFM 表 |
| 边界 | 不是可编辑网格;不是 AUP table 节点;不是 chart 降级表;无写入路径 |
| 作者入口 | content.md 中的 pipe 表 |
| 表面 | Web Device document(静态) |
| 公共状态 | released |
| Fallback / 失败 | 畸形 pipe → 普通 Markdown / 坏表 |
| 验证 | 下方路由 · arc --version = 2.0.0-beta.28 |
用途
内容 Markdown 中的 pipe 表,在 document 路径上渲染。
Sample
源码:
| File | Purpose | Writes data |
| --- | --- | --- |
| `content.md` | Content item | No |
| `layout.aup` | Page layout | No |渲染:
| File | Purpose | Writes data |
|---|---|---|
content.md | Content item | No |
layout.aup | Page layout | No |
这是 content reader 处理的 Markdown 表。它不会把表变成可编辑数据、建立 AFS 数据源,或证明 AUP primitive table 路径。不要把空的 chart 降级表与本作者 GFM 表混淆。
失败与限制
| 情形 | 预期结果 |
|---|---|
| 畸形 pipe | 普通 Markdown / 坏表,不是 runtime 错误面 |
| 空数据行 | 仅作者内容——不会自动出现 chart chain 的 “No data” chrome |
假定 AUP table props | 错误表面;需要该节点时写 AUP JSON/DSL |
验证证据
| 项 | 值 |
|---|---|
| 基线 | 2026-08-09 · arc --version → 2.0.0-beta.28 |
| 能力行 | docs/aup/capability-matrix.md §6 · GFM table |
| 实现 | content-reader.ts(table case) |
| 公开路由 | /en/docs/web-device/markdown/gfm-table/ · /zh/docs/web-device/markdown/gfm-table/ |
| 本地运行 | arc service start --blocklet blocklets/arcblock --port 4900 · 打开路由 |
| 接受标准 | 源码与渲染表一致;无编辑控件;无 chart 声明 |
相关
- Markdown hub — 仅导航
- AUP
tableprimitive - 历史多单元 hub:markdown-gfm-callouts