Skip to main content
kitlocal.dev

Markdown & Mermaid Workbench

Runs locally

100% processed in your browser. Inputs and outputs never leave your device.

Live GitHub Flavored Markdown editor with strict Mermaid diagrams, Table of Contents, browser-local draft autosave, and standalone HTML / PDF export.

Draft is stored only in this browser (localStorage).

Markdown Source

Rendered Preview

2 Mermaid diagrams

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 mermaid diagrams (securityLevel: 'strict')
  • ☑ Per-diagram SVG/PNG copy & isolated inline syntax error boxes
  • ☐ Ready for your technical RFC or release notes

Request Pipeline (Flowchart)

Rendering Mermaid diagram...

Handoff Sequence

Rendering Mermaid diagram...

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 lines209 words1514 chars
100% browser-local rendering