Markdown Viewer is a Windows desktop application designed for opening and reading Markdown documents without a complex editing environment. It renders Markdown files with GitHub-style formatting through the Marked.js parser. Supported elements include headings, tables, lists, links, images, quotations, and task lists. Code blocks receive syntax highlighting through Highlight.js for improved readability. Users can open documents through drag-and-drop, file selection, or Windows Explorer associations. A recent-files history provides quick access to previously viewed documents. Keyboard shortcuts support opening files and adjusting the text zoom level. Automatic dark mode adapts the reading interface to system preferences. Built with Electron, the application also sanitizes rendered HTML using DOMPurify.
Features
- Fast Markdown document rendering with GitHub-style formatting for headings, lists, tables, links, and images
- Syntax-highlighted code blocks and inline code presentation powered by Highlight.js
- Drag-and-drop document opening with Windows Explorer integration and configurable Markdown file associations
- Persistent recently opened document history with convenient access to previous files and history clearing
- Keyboard shortcuts for opening files, accessing recent documents, and adjusting or resetting text zoom
- Automatic dark mode with DOMPurify HTML sanitization and support for multiple Markdown file extensions