Files
marqdo-view/examples/welcome/00-welcome.mq.md
T
marqdo-view dev 80ce564f09 feat(PR-02): DocumentModel, Analysis v2 projection, single renderer and Live browsing
- document.rs: comrak marqdo.md.v1 parse -> DocBlock/Inline with exact UTF-8 spans
- semantic.rs: typed Analysis v2 validation (schema/profile/root_id/source_digest,
  units/functions/statements/resources/imports/references/calls/diagnostics,
  per-span UTF-8 checks with explicit view.source_span_invalid warnings)
- presentation.rs: one PresentationModel/Outline with source status matrix
- render.rs: one ReaderRenderer; sanitized GFM, statement anchors, heading mode
  badges (display-only prefix strip), source pane, docs/Live|Static link policy,
  CSP meta, no inline scripts, no raw HTML execution
- server.rs: loopback-only Live reader with Host/DNS-rebinding checks, strict
  percent decoding, project path boundary, security headers, read-only APIs
- app.rs: AppContext degradation (core missing -> prose-only, check error ->
  diagnostics + revoked semantics, protocol mismatch -> hard error)
- assets: single reader.css/reader.js + embedded SHA-256 AssetBundle, copied
  legacy logo/blossom/feather with provenance
- examples + frozen-CLI Analysis goldens + rendering/HTTP/asset/no-coupling tests
- ADR-0003 heading prefix/anchor identity; docs updated
2026-11-22 11:19:11 +08:00

16 lines
660 B
Markdown

# @knowledge 欢迎来到 Marqdo
Marqdo 把 Markdown 当作可执行文档的语言:标题声明 `@exec` / `@knowledge` 模式,
强调、斜体与行内代码是**等价的单语句载体**,而 `if` / `else` / `while` / `end` /
`return` 决定真正的操作。
| 阅读态 | 内容 | 是否执行 |
| --- | --- | --- |
| 文档 | 原始 Markdown 排版 | 否 |
| 源码 | 逐行原文,包含全部标记 | 否 |
| 运行 | 用户显式确认后才出现 | 是(需要确认) |
继续阅读:[语法演示](./guide.mq.md)。
> 这份欢迎页只是 `view.json` 显式指定的站点首页,普通 `welcome` 文件名不会自动变成 Hero。