Skip to main content
Plain 的 doc 是标准 GFM Markdown,经 unified pipeline 渲染: remark-parse + remark-gfm + remark-math + rehype-katex + rehype-slug + rehype-toc

一份最小 doc

memo.md

支持的 markdown 扩展

  • GFM tables — 标准 markdown 表格
  • Math$inline$$$block$$(KaTeX)
  • Footnotes[^1] 行内脚注
  • TOC — frontmatter 加 toc: true 自动生成目录
  • Code highlighting — 语言 fence 自动着色
  • @ref 跨文档引用 — 指任意 sheet/doc/deck 段落

嵌入 sheet 表格

渲染时把 sheet customers 的前 5 行 name + retention 列嵌进来, sheet 改了,doc 下次刷新自动是新的。详见 Cross-doc refs

演讲模式(scroll-driven)

doc 也能 present —— 按 H2 自然分段,Space / ↓ 翻段, F 全屏。给”长 memo + 现场 walk-through”场景用。详见 Present mode

导出