About MerDoc
A markdown editor with integrated Mermaid diagrams
About the Creator
MerDoc was created by Jason Byrne, a software executive with over 20 years of industry experience. He currently leads front-end, back-end, dev-ops, and data engineering teams at Oddball, a digital agency that transforms government services.
Jason has led engineering teams at companies in the private and public sectors, ranging from bootstrapped startups to large-scale organizations and VC-backed hypergrowth companies. Event in leadership roles, he has remained hands-on with the code, and is a strong believer in the power of AI to accelerate development and improve productivity.
You can find more on Jason's background and experience on LinkedIn.
Why MerDoc?
MerDoc was built out of a personal need. I wanted to be able to easily create technical documents using just markdown code, and I needed a way to build documentation that could seamlessly combine both commentary and Mermaid diagrams in a single document.
Traditional markdown editors often require switching between different tools or embedding diagrams as separate files, which breaks the flow of writing. MerDoc solves this by providing an integrated editor where you can write markdown and include Mermaid diagrams directly in the same document, making it easy to create comprehensive technical documentation with both text and visual elements.
Tech Stack
MerDoc is built with modern web technologies:
- TypeScript - End-to-end type safety
- SvelteKit - Frontend framework using Svelte 5
- Vite - Build tooling and dev server
- SASS - Styles (no CSS modules; component-scoped and global)
- Cloudflare Pages - Hosting and deployment
- Cloudflare D1 - SQLite database for document storage
- Cloudflare R2 - Object storage for images and media
- Drizzle ORM - Type-safe database queries
- Zod - Runtime validation and API schemas
- CodeMirror - Code editor component
- Mermaid - Diagram rendering and visualization
- Marked - Markdown parsing and rendering
- Reveal.js - Presentation/slideshow functionality
- Vitest - Unit and integration tests
Development is accelerated with Cursor and AI models like Claude—pair programming with AI makes iterating on a side project like this much faster.
MerDoc