Markdown → HTML
实时渲染 Markdown,支持语法高亮和 GitHub 风格 Markdown。
草稿仅保存在当前浏览器本地(localStorage)。
Markdown 源码
渲染预览
2 个 Mermaid 图表
KitLocal Architecture Overview
Live GitHub Flavored Markdown workbench with strict Mermaid diagrams, automatic Table of Contents, local draft persistence, and standalone HTML / PDF export.
Key Capabilities
- ☑ GFM tables, strikethrough (
legacy), autolinks, and heading anchors - ☑ Lazy-loaded
mermaiddiagrams (securityLevel: 'strict') - ☑ Per-diagram SVG/PNG copy & isolated inline syntax error boxes
- ☐ Ready for your technical RFC or release notes
Request Pipeline (Flowchart)
正在渲染 Mermaid 图表...
Handoff Sequence
正在渲染 Mermaid 图表...
Performance Matrix
| Stage | Execution | Network Calls |
|---|---|---|
| Markdown parse | Browser main thread | 0 |
| HTML sanitization | Strict tag/URI allowlist | 0 |
| Mermaid SVG | Lazy dynamic chunk | 0 |
Code Example
export function verifyZeroNetwork(payload: string): boolean {
// Drafts stay strictly inside this browser
const bytes = new TextEncoder().encode(payload);
return bytes.byteLength > 0;
}
52 行209 词1514 字符
100% 浏览器本地渲染