MD2X v1.0 is here. A complete Markdown-to-X-Articles workflow that runs entirely in your browser.
Highlights
- 9 code image themes — Dracula, Nord, GitHub Dark, One Dark Pro, Tokyo Night, and more
- Mermaid diagram support — flowcharts, sequence diagrams, class diagrams rendered as PNGs
- AI cover images — generate article covers from content using OpenAI-compatible APIs
- Thread splitter — break long articles into numbered tweet-sized chunks
- PWA offline mode — install as a desktop app, edit and preview without internet
- Publish preflight — checklist to catch issues before you paste into X Articles
Editor improvements
- Real-time preview with exact X Articles formatting
- Asset orchestrator — manage code images, diagrams, and tables in one panel
- Template library — start from pre-built article structures
- Import/export
.mdfiles - Draft auto-save to localStorage
Code image rendering
Switch between "Code Quote" (plain text) and "Code Image" (PNG) modes in the toolbar. Code Image mode renders syntax-highlighted images with:
- Language detection from Markdown fence labels
- 9 color themes selectable from a dropdown
- Consistent padding and font sizing
- One-click copy from the Assets panel
Thread mode
A dedicated /thread page for splitting long-form content into tweet threads:
- Rule-based splitting by paragraph boundaries
- AI-powered splitting for natural breakpoints
- Auto-numbering (1/N format)
- Copy individual tweets or the entire thread
What's next
- More code themes and font options
- Table image improvements
- Blog with tutorials and tips (you're reading it!)
- Internationalized SEO landing pages
Built with Next.js, React, and CodeMirror. View on GitHub.