TC
Thaddeus Mwai
All works
Web & ProductivitySYS-01August 2026

In-Browser Markdown Studio

Instant-render offline workspace for documentation writers and technical bloggers

< 4ms
Input-to-Paint Latency
100% PWA
Offline Support
TypeScriptWeb ComponentsAstroWeb WorkersWASM

Highlights

  • Off-Main-Thread Parsing: Offloads Markdown and KaTeX math compilation to dedicated Web Workers to eliminate typing lag on 10,000+ line documents.
  • Bi-directional Scroll Sync: Uses proportional line-anchor mapping rather than naive percentage scrolling, ensuring the preview cursor never drifts.
  • Clean Export: 1-click publishing to static HTML bundles with embedded CSS and zero external script tags.
Cross-posting & syndication
Canonical URL: https://tedcraft.dev/works/markdown-viewer/
Syndicate or reference this case-study with canonical attribution