MDViewer Documentation
Complete guide to installation, features, and usage for the professional Markdown viewer designed for Windows documentation workflows.
📋 Table of Contents
🚀 Quick Start
New to MDViewer? Start here!
Get up and running in under 2 minutes:
- Download the MSI Installer (recommended for most users)
- Run the installer and follow the setup wizard
- Open any
.mdfile by double-clicking or using "Open with MDViewer" - Explore the navigation footer and try the built-in editor with Ctrl+E
Download Links
📦 Latest Release - MSI Installer 📦 Latest Release - All DownloadsFirst Run
After installation, MDViewer will:
- 🔗 Associate with .md files - Right-click any markdown file to see "Open with MDViewer"
- 📁 Remember recent files - Access via File menu or drag-and-drop
- ⚙️ Save your preferences - Window size, zoom level, and settings persist
- 🧭 Auto-detect repositories - Intelligent navigation for documentation projects
💿 Installation Guide
Choose Your Installation Method
| Method | Best For | Size | Requirements |
|---|---|---|---|
| MSI Installer | Most users, permanent installation | 2.1 MB | .NET 8 runtime |
| Portable ZIP | No admin rights, development environments | ~400 MB | .NET 8 runtime required |
| Silent Install Script | Enterprise deployment | 1 KB | Admin rights, downloads MSI |
MSI Installation (Recommended)
Step-by-Step Instructions:
- Download: Latest MDViewer Setup.msi
- Run: Double-click the downloaded MSI file
- Install: Click "Next" through the installation wizard
- Complete: Launch from Start Menu or desktop shortcut
What gets installed:
- ✅ MDViewer application in Program Files
- ✅ Start Menu shortcuts and desktop icon
- ✅ File associations for .md and .markdown files
- ✅ Context menu "Open with MDViewer" option
- ✅ Uninstaller in Add/Remove Programs
Portable Installation
Portable ZIP Archive
Perfect for users without admin rights or development environments.
- Download: Latest Portable Release
- Extract the ZIP archive to desired location
- Ensure .NET 8 runtime is installed
- Launch
MDViewer.exefrom the extracted folder - Optionally pin to taskbar or create shortcuts
Enterprise Silent Installation
Automated Deployment
For system administrators deploying across multiple machines:
# Download and run the silent installer from latest release
# Visit https://github.com/MDViewer-App/mdviewer.app/releases/latest
# Download the Install-MDViewer.bat file and run it
# Or install MSI directly with silent parameters
msiexec /i MDViewer-Setup.msi /quiet /norestart
Group Policy deployment: The MSI supports standard Windows deployment via Group Policy Software Installation.
Verification
Verify your download integrity using SHA256 checksums:
# PowerShell verification
Get-FileHash .\MDViewer-Setup.msi -Algorithm SHA256
# Checksums available on the GitHub release page
📋 Complete checksums available: Latest GitHub Release
✨ Feature Overview
Core Capabilities
🧭 Smart Navigation System
- Repository Detection: Automatically finds your documentation root
- Breadcrumb Navigation: Clear path showing where you are
- Related Files: Shows other markdown files in the same directory
- Subdirectory Links: Easy access to nested documentation
- Intelligent Linking: Automatically resolves relative links between files
✏️ Built-in Text Editor
- Full Menu Support: New, Open, Save, Save As operations
- Find & Replace: Powerful search with regex support
- Word Wrap: Toggle for optimal viewing
- Live Preview: See changes instantly in the viewer
- External Editor Integration: Configure your preferred editor (VS Code, etc.)
📄 Professional Export
- PDF Export: High-quality PDF generation with proper formatting
- Word Export: Microsoft Word (.docx) documents
- Print Support: Direct printing from the viewer
- Progress Tracking: Real-time status during export operations
🏢 Enterprise Features
- Documentation Hub: Team-centric organization and management
- Category Management: Organize documents by department or project
- Priority System: Mark high-priority documentation
- Search & Filter: Find documents quickly across large repositories
- Dashboard Generation: Create overview pages for teams
✏️ Built-in Editor
Opening the Editor
- Keyboard: Press
Ctrl+Efrom the viewer - Menu: Tools → Open Editor
- Context Menu: Right-click and select "Edit"
Editor Features
File Operations
- New:
Ctrl+N- Create new markdown document - Open:
Ctrl+O- Open existing file - Save:
Ctrl+S- Save current document - Save As:
Ctrl+Shift+S- Save with new name/location
Editing Tools
- Find:
Ctrl+F- Search within document - Replace:
Ctrl+H- Find and replace text - Word Wrap: Toggle text wrapping for long lines
- Font Settings: Customize editor appearance
External Editor Integration
Configure your preferred external editor:
- Go to Settings → External Editor
- Choose from popular editors or set custom path
- Use
Ctrl+Shift+Eto open current file in external editor
Supported External Editors
- Visual Studio Code: Full markdown support with extensions
- Notepad++: Lightweight with syntax highlighting
- Sublime Text: Advanced editing features
- Custom Editor: Any editor that accepts command-line file arguments
📄 Export Features
Export Options
PDF Export
- Trigger:
Ctrl+Por File → Export to PDF - Quality: High-resolution output suitable for printing
- Formatting: Preserves all markdown styling and layout
- Progress: Real-time status with cancellation support
Technical Details:
- Uses Chromium/WebView2 for consistent rendering
- Supports embedded images and styling
- Automatic page breaks and margins
- Export location defaults to same directory as source file
Word Export
- Trigger: File → Export to Word
- Format: Microsoft Word (.docx) documents
- Compatibility: Works with Word 2016 and later
- Elements: Headings, lists, tables, and basic formatting preserved
Requirements:
- PowerShell execution policy allows scripts
- Pandoc automatically downloaded if needed
- Temporary file handling for conversion process
Export Troubleshooting
Common Issues
- PDF hanging: Check for popup blockers or WebView2 permissions
- Word export failing: Verify PowerShell execution policy:
Set-ExecutionPolicy RemoteSigned - Missing images: Ensure images use relative paths or are in accessible locations
- Large files: Export may take longer for documents with many images
🏢 Enterprise Features
Documentation Hub
The Documentation Hub provides enterprise-grade document management:
Accessing the Documentation Hub
- Keyboard:
Ctrl+D - Menu: Tools → Documentation Hub
- Toolbar: Click the Documentation Hub icon
Hub Features
Category Management
- Organizational Structure: Create categories like "API Docs", "User Guides", "SOPs"
- Nested Categories: Support for sub-categories and complex hierarchies
- Color Coding: Visual identification for different document types
- Access Control: Mark categories as public or restricted
Document Organization
- Priority Levels: High, Medium, Low priority assignments
- Quick Access: Pin frequently used documents
- Search & Filter: Find documents across all categories
- Recent Activity: Track recently accessed documents
Team Coordination
- Dashboard Generation: Create team overview pages
- Documentation Inventory: Track all team documents
- Standard Templates: Incident response, API documentation, etc.
- Export Coordination: Bulk export for team distributions
Enterprise Deployment
Silent Installation for Teams
# PowerShell deployment script
# Get the latest release URL programmatically
$repo = "MDViewer-App/mdviewer.app"
$releases = Invoke-RestMethod -Uri "https://api.github.com/repos/$repo/releases/latest"
$installerUrl = $releases.assets | Where-Object { $_.name -like "*Setup.msi" } | Select-Object -ExpandProperty browser_download_url
$installerPath = "$env:TEMP\MDViewer-Setup.msi"
# Download installer
Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath
# Silent install
Start-Process msiexec.exe -ArgumentList "/i `"$installerPath`" /quiet /norestart" -Wait
# Cleanup
Remove-Item $installerPath -Force
Group Policy Configuration
- MSI Deployment: Use Software Installation in Group Policy
- Registry Settings: Pre-configure external editor preferences
- File Associations: Ensure consistent .md file handling
- Update Management: Control update notifications via registry
⌨️ Keyboard Shortcuts
Working Shortcuts
| Action | Shortcut | Description |
|---|---|---|
| Print/Export PDF | Ctrl+P |
Export current document to PDF via browser print dialog |
| Zoom In | Ctrl++ |
Increase content zoom level (WebView2 native) |
| Zoom Out | Ctrl+- |
Decrease content zoom level (WebView2 native) |
| Reset Zoom | Ctrl+0 |
Return to 100% zoom level (WebView2 native) |
| Developer Tools | F12 |
Open WebView2 developer tools (WebView2 native) |
| Refresh | F5 |
Reload current document (WebView2 native) |
Menu Access
Use the application menus for features that don't have working keyboard shortcuts:
- File → Open - Open markdown file dialog
- Tools → Editor - Launch built-in text editor
- Tools → Documentation Hub - Open enterprise documentation hub
- Tools → Edit in External Editor - Open file in configured external editor
Editor Shortcuts
When the built-in editor window is active, standard text editor shortcuts work:
| Action | Shortcut | Description |
|---|---|---|
| New File | Ctrl+N |
Create new markdown document |
| Save | Ctrl+S |
Save current document |
| Save As | Ctrl+Shift+S |
Save with new name or location |
| Find | Ctrl+F |
Search within document |
| Replace | Ctrl+H |
Find and replace text |
🔧 Troubleshooting
Common Issues
WebView2 Issues
Problem: MDViewer fails to start or shows blank content
Solutions:
- Install WebView2 Runtime manually: Download from Microsoft
- Run Windows Update to get latest WebView2 version
- Check Windows version: Requires Windows 10 version 1809 or later
- Temporarily disable antivirus to test if it's blocking WebView2
Threading Errors
Problem: "CoreWebView2 can only be accessed from the UI thread" error
Solution: Update to the latest version of MDViewer - this critical issue was resolved in v1.4.4.
File Association Issues
Problem: Right-click "Open with MDViewer" option missing
Solutions:
- Reinstall using the MSI installer with administrator privileges
- Manually associate .md files: Right-click → Properties → Open with → Choose another app
- Run the latest
Install-MDViewer.batscript as administrator
Export Problems
PDF Export Issues:
- Ensure WebView2 has permission to save files
- Check available disk space in target directory
- Disable popup blockers or security software temporarily
Word Export Issues:
- Set PowerShell execution policy:
Set-ExecutionPolicy RemoteSigned - Ensure internet connection for Pandoc download
- Check temporary directory permissions
Performance Issues
Large Document Handling
- Memory Usage: Large documents (>50MB) may require additional RAM
- Image Loading: Many images can slow initial rendering
- Complex Tables: Large tables may impact scrolling performance
- Optimization: Break large documents into smaller, linked files
Getting Debug Information
Developer Tools
Press F12 to open WebView2 developer tools for:
- Console Errors: JavaScript errors or warnings
- Network Issues: Failed image or resource loading
- Performance: Rendering and memory usage analysis
- DOM Inspection: Examine generated HTML structure
Log Files
MDViewer creates log files in:
- Windows 10/11:
%APPDATA%\MDViewer\Logs\ - Portable Version:
Logs\folder next to executable
Include these logs when reporting issues for faster support.
🚀 Advanced Usage
Command Line Interface
Basic Usage
# Open specific file
MDViewer.exe "C:\Docs\README.md"
# Open with specific zoom level
MDViewer.exe --zoom=150 "document.md"
# Open in read-only mode
MDViewer.exe --readonly "sensitive-doc.md"
Configuration Files
Settings Location
- User Settings:
%APPDATA%\MDViewer\settings.json - Portable Settings:
settings.jsonnext to executable - Recent Files:
recent-files.jsonin same directory
Example Settings Configuration
{
"WindowState": {
"Width": 1200,
"Height": 800,
"Left": 100,
"Top": 100,
"Maximized": false
},
"ZoomFactor": 1.0,
"ExternalEditor": "C:\\Program Files\\Microsoft VS Code\\Code.exe",
"Theme": "GitHub",
"AutoSaveInterval": 30,
"ShowLineNumbers": true
}
Custom CSS Styling
Theme Customization
Create custom CSS files in %APPDATA%\MDViewer\Themes\:
/* custom-theme.css */
body {
font-family: 'Roboto', sans-serif;
background-color: #f8f9fa;
color: #343a40;
}
h1, h2, h3, h4, h5, h6 {
color: #007bff;
border-bottom: 2px solid #e9ecef;
}
code {
background-color: #e9ecef;
color: #d63384;
padding: 0.2rem 0.4rem;
border-radius: 0.25rem;
}
Integration with Development Tools
Git Integration
- Repository Detection: Automatic .git folder scanning
- Base URL Resolution: Proper image path handling
- Relative Link Support: Works with Git repository structures
- Branch-Aware Navigation: Respects current working directory
Documentation Workflows
- Watch Mode: Auto-refresh when files change (F5 or manual)
- Multi-Repository: Handle multiple documentation projects
- Template System: Create standard document templates
- Batch Operations: Process multiple files for export
💬 Support
Getting Help
📧 Contact Information
- General Support: [email protected]
- Enterprise Inquiries: [email protected]
- Bug Reports: Use GitHub Issues (when repository is public)
- Feature Requests: Submit via email with detailed use cases
📝 When Reporting Issues
Please include the following information:
- MDViewer Version: Check Help → About MDViewer
- Windows Version: Run
winverto get exact version - File Information: File size, markdown complexity
- Error Messages: Exact text of any error dialogs
- Steps to Reproduce: Detailed sequence of actions
- Log Files: From
%APPDATA%\MDViewer\Logs\
Version Information
Latest Release Information
Check the latest GitHub release for current version details and release notes.
- Stability: Production-ready for enterprise use
- Compatibility: Windows 10 version 1809+, .NET 8
- Updates: Regular improvements and security patches
Update Information
Staying Current
- Automatic Updates: MSI installations check for updates weekly
- Manual Updates: Download new versions from mdviewer.app
- Portable Updates: Replace executable with new version
- Settings Preservation: All user preferences carry forward
🔐 Security Updates
Security patches are released immediately when identified. Always keep MDViewer updated to the latest version for:
- ✅ Latest WebView2 security patches
- ✅ Vulnerability fixes in dependencies
- ✅ Enhanced file handling security
- ✅ Protection against malicious markdown content
Community Resources
Documentation and Examples
- Sample Documents: Download example markdown files showing MDViewer features
- Template Library: Ready-to-use templates for common documentation types
- Best Practices: Guides for organizing large documentation projects
- Video Tutorials: Step-by-step guides for advanced features