The Markdown editor that speaks code
Write READMEs, docs, and dev blog posts with syntax-highlighted snippets, diagrams-as-code, and one-click publishing to the platforms developers actually read.
Code-first writing
Code blocks that are treated like code
READMEs, changelogs, and tutorials live or die by their snippets. Write fenced code blocks with syntax highlighting, then embed them as GitHub gists or shareable screenshots without leaving the editor.
- Fenced code blocks with syntax highlighting in editor and preview
- Embed snippets as GitHub gists or polished code screenshots
- Markdown linting with one-click fixes, GFM tables, and task lists
Diagrams as code
Architecture diagrams that live in your Markdown
Describe flowcharts, sequence diagrams, and system maps in plain text and see them render live. Diagrams stay in your document, so they get reviewed and versioned like the rest of your code.
- Mermaid flowcharts, sequence diagrams, Gantt charts, and more
- Graphviz and mind map rendering with live preview
- Plain-text sources that diff cleanly in code review
AI on your terms
Keep AI work local when you want it
The desktop app can connect directly to Ollama or another OpenAI-compatible server, so local writing and rewrite requests stay on your machine and use no hosted AI credits.
- Detect and choose models from a local Ollama endpoint
- Keep document inference on your device
- Switch back to OpenAI, Anthropic, Grok, or Gemini when a cloud model fits the task
Publish anywhere
Publish where developers actually read
Connect a destination once in Settings, then push the same document to your blog platforms or straight into your own infrastructure. Your Markdown stays the canonical source.
- Publish to DEV (Forem), Hashnode, WordPress, Ghost, or X Articles
- Push to a GitHub repository, a Gist, or your own S3 bucket
- Custom frontmatter support for Hugo, Jekyll, and static-site workflows
Reliable by default
Drafts that survive flaky Wi-Fi and bad merges
The editor is offline-first, so writing works on planes and trains, and every change is captured in automatic version history you can restore in one click.
- Offline-first editing that syncs when you reconnect
- Automatic version history with instant restore
- Import and export plain Markdown. Your files stay yours
Fits the toolchain you already use
The same Markdown core is available wherever you work: terminal, editor, browser, or desktop.
CLI
Render and convert Markdown from your terminal and scripts.
Learn moreVS Code extension
Preview Markdown with diagrams right inside your editor.
Learn moreChrome extension
Open local and remote .md files beautifully in the browser.
Learn moreDesktop app
An installable, offline-first editor for macOS, Windows, and Linux.
Learn moreDeveloper questions, answered
Yes. The editor and preview support GitHub-flavored Markdown including tables, task lists, fenced code blocks with syntax highlighting, and footnotes, so your READMEs render the way they will on GitHub.
Yes. mdedit.ai renders Mermaid diagrams (flowcharts, sequence diagrams, Gantt charts, and more), Graphviz, and mind maps with live preview. The diagram source stays as plain text inside your Markdown.
Connect a destination in Settings → Integrations and publish to DEV (Forem), Hashnode, WordPress, Ghost, X Articles, or a GitHub repository, while your Markdown file stays the canonical source. You can also publish straight to a GitHub Gist or your own S3 bucket, send it to a custom webhook, or export Markdown, styled HTML, DocX, or PDF when you need a file.
Yes. Use your own OpenAI, Anthropic, Grok, or Gemini API key, or skip the cloud entirely: the desktop app runs fully local models via Ollama or any OpenAI-compatible server, so prompts and documents never leave your machine.
Yes. Connect your GitHub account to embed snippets as gists, or generate styled code screenshots for platforms that do not render Markdown well.
Yes. mdedit.ai is offline-first: you can keep writing without a connection and your changes sync when you are back online. Automatic version history captures your edits along the way.
Yes. There is a CLI for terminal workflows, a VS Code extension for in-editor preview, a Chrome extension, and a desktop app.
Already keeping notes in a local vault? Read mdedit.ai vs Obsidian or browse all editor comparisons.
Your next README deserves a better editor
Free to start. Your files stay Markdown, and they stay yours.