MarkX is a local Markdown editor with real-time preview. Edit locally in your browser and export to PDF with one click. Fully responsive design works perfectly on desktop and mobile devices.
Key Features
Local Editing & Real-time Preview
- Edit Markdown files locally in your browser
- Split-pane view: editor on the left, live preview on the right
- Auto-save drafts every 30 seconds
- All data stays local—complete privacy
Easy PDF Export
Export your documents to PDF with three modes:
- Default - Quick export with natural pagination
- Full Page - Single continuous image for presentations
- Smart Pagination ⭐ - Intelligent page breaks that avoid cutting diagrams, code blocks, and formulas
All PDF exports preserve Mermaid diagrams, ECharts charts, KaTeX formulas, and code syntax highlighting perfectly.
Rich Content Support
- Mermaid Diagrams - Flowcharts, sequence diagrams, Gantt charts, class diagrams
- ECharts Charts - Bar, line, pie, scatter charts with full API support
-
KaTeX Math - Inline (
$...$) and block ($$...$$) formulas - GitHub Flavored Markdown - Complete GFM support
- Code Highlighting - Syntax highlighting for 20+ languages
Export to PDF
Exporting to PDF is incredibly simple:
- Write your Markdown content with diagrams, charts, or formulas
- Click the "More" menu (three dots) in the toolbar
- Select your preferred PDF export mode
- Download your professional PDF document
The Smart Pagination mode ensures diagrams, code blocks, and math formulas are never cut off across pages—perfect for technical documentation. (Unless the block itself exceeds one page in height.)
Get Started
Try it now: Live Demo
GitHub Repository: https://github.com/steamedbread2333/MarkX
Star the repo if you find it useful!
Open source, MIT licensed. Contributions welcome!



Top comments (0)