MDHero is a lightweight Markdown reader and editor designed for viewing documents with polished formatting rather than raw source text. It supports local Markdown files, pasted text, and documents retrieved from public URLs. Its renderer displays syntax-highlighted code, mathematical equations, and Mermaid diagrams. Users can customize typography, reading width, and line spacing or activate distraction-free Zen mode. An integrated editor allows direct modifications with syntax highlighting and file saving. Multiple tabs, search tools, and an automatically generated table of contents simplify document navigation. File watching updates the preview when documents change in external editors. Sharing tools support rich-text copying, printing, and PDF exporting. Built with Tauri, Rust, and Svelte, MDHero supports Windows, macOS, and Linux.
Features
- High-quality Markdown rendering with syntax highlighting for more than 25 programming languages
- Mathematical equation rendering through KaTeX and interactive diagram presentation through Mermaid
- Integrated Markdown editor with syntax highlighting, unsaved change indicators, and synchronized reading positions
- Multiple document tabs, automatic table of contents, text searching, Vim navigation, and fullscreen Zen mode
- Local file opening, public URL importing, AI-generated Markdown pasting, and automatic external file change detection
- Customizable typography, light and dark themes, rich-text copying, PDF exporting, and portable desktop installation