I Wanted to Write More, So I Built a Markdown Editor That Doesn't Lie to Me

I made a decision some time ago, to invest more time into writing and documenting ideas that matter to me. Along the way I hit a blocker that made me realize why I don’t really enjoy writing in the first place.

Some of the issues I faced were:

  1. Misleading previews: Editors smooth over inconsistencies and render unsupported extensions, hiding issues until I publish.

  2. Dialect mismatches: Markdown behaves differently across targets (CommonMark, GFM, blogs, and notes apps), causing syntax like alerts, math, diagrams, or wiki-links to break or print as raw text.

  3. Late error detection: Broken local image paths, stripped raw HTML, unclosed tags, and subtle formatting quirks were only caught after going live instead of line-by-line while writing.

  4. Fragmented workflow: Co-writing/collaboration without edit conflicts, sharing read-only review links with inline comments, and publishing directly to GitHub with local images intact required juggling separate tools.

Because of those reasons above, I decided to dedicate a portion of my time to building a tool that would make life a lot easier for me. mdstudio is an open-source and local-first markdown editor that actually shows you how your markdown would behave in different platforms. It comes with a portability checker that flags every spot that will look different so you can fix them before it goes live. You can easily share your drafts for review or for collaboration depending on how you work, and get feedback as they happen. Then when you are ready to go live you can export it different format, or you can publish to github.

Some of the main features are:

  • Preview that follows your target: Whether it’s Strict CommonMark, GFM extended, GFM without HTML, Wiki notes. The preview renders exactly what your platform will show.

  • Portability checker: Flags raw HTML, local paths, wiki-links, ==highlights==, math, Mermaid, trailing spaces, missing alt text, unclosed tags, and more. Every issue is clickable.

  • Real-time co-editing/collaboration: Up to three people editing the same draft, with live cursors, per-person undo, and offline merges.

  • Review links: Expiring read-only links where reviewers comment on the exact words they select. And then you can resolve the comments from the editor.

  • Publish to GitHub: Commit, open a pull request, or post a gist. Images commit beside the file, so you don’t have to start figuring out how to handle the image files.

  • Complete writing environment: KaTeX + Mermaid on demand, split view, outline, front matter, import from Google Docs/Notion, export (Markdown, HTML, ZIP), version history with diff and restore, full-text search across drafts and much more.

  • AI on your own key: OpenAI, Anthropic, Gemini, Ollama, or any OpenAI-compatible endpoint. Keys stay in session memory. Every change shown as a diff you accept or reject.

  • Local-first: No account needed. Drafts saves to your browser. Works offline. And you can install as a PWA.

  • Self-hostable: One docker compose up runs the whole thing on your own server. MIT licensed. Your writing is plain Markdown and no lock-in.

You can try it out here: mdstudio

The github project is here: Github

You can read the full post about it here: mdstudio: Free Markdown Editor & Portability Checker — Chizoba Jude Ojini

New features and improvements are pushed regularly, so you can suggest what you want to see next.