Skip to main content

generate

stdout 是 marp markdown 源。> deck.md 重定向。 可选 flags:
  • --mode=brief|feature — brief = 8-12 页(默认),feature = 18-28 页 Monocle 风长文
  • --theme=plain-mono|plain-bold|plain-editorial|... — 主题
  • --output=deck.md — 直接写文件不打 stdout
  • --json — 输出包含 source + metadata 的 JSON,给脚本用

edit

读 deck.md 为 current,把指令送给 editor agent,新 source 写回(或 --output=new.md 不覆盖)。

export

不指定 --output 自动用 <basename>.<ext>

mcp

stdio MCP server,详见 MCP server

CI 范例

.github/workflows/release-deck.yml