MDViewer Documentation

Complete guide to installation, features, and usage for the professional Markdown viewer designed for Windows documentation workflows.

🚀 Quick Start

New to MDViewer? Start here!

Get up and running in under 2 minutes:

  1. Download the MSI Installer (recommended for most users)
  2. Run the installer and follow the setup wizard
  3. Open any .md file by double-clicking or using "Open with MDViewer"
  4. Explore the navigation footer and try the built-in editor with Ctrl+E

Download Links

📦 Latest Release - MSI Installer 📦 Latest Release - All Downloads

First 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:

  1. Download: MDViewer-v1.4.4-Setup.msi
  2. Run: Double-click the downloaded MSI file
  3. Install: Click "Next" through the installation wizard
  4. 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.

  1. Download: MDViewer-v1.4.4-Portable.zip
  2. Extract the ZIP archive to desired location
  3. Ensure .NET 8 runtime is installed
  4. Launch MDViewer.exe from the extracted folder
  5. 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
Invoke-WebRequest -Uri "https://github.com/MDViewer-App/mdviewer.app/releases/download/v1.4.4/Install-MDViewer-v1.4.4.bat" -OutFile "Install-MDViewer.bat"
.\Install-MDViewer.bat

# Or install MSI directly with silent parameters
msiexec /i MDViewer-v1.4.4-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-v1.4.4-Setup.msi -Algorithm SHA256
# Expected: 2F13022D7665BD8F852BA69DF569F86A9D89F3DC89FBC4AEA4D2255856CC669C

📋 Complete checksums available: GitHub Releases Page

✨ 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+E from 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:

  1. Go to Settings → External Editor
  2. Choose from popular editors or set custom path
  3. Use Ctrl+Shift+E to 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+P or 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
$installerUrl = "https://github.com/MDViewer-App/mdviewer.app/releases/download/v1.4.4/MDViewer-v1.4.4-Setup.msi"
$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

Essential Shortcuts

Action Shortcut Description
Open File Ctrl+O Open markdown file dialog
Open Editor Ctrl+E Launch built-in text editor
Documentation Hub Ctrl+D Open enterprise documentation hub
Refresh F5 Reload current document
Print/Export PDF Ctrl+P Export current document to PDF

Zoom and View Controls

Action Shortcut Description
Zoom In Ctrl++ Increase content zoom level
Zoom Out Ctrl+- Decrease content zoom level
Reset Zoom Ctrl+0 Return to 100% zoom level
Developer Tools F12 Open WebView2 developer tools

Editor Shortcuts

When the built-in editor is active:

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

📝 Note on Keyboard Shortcuts

MDViewer uses enhanced keyboard handling to ensure shortcuts work even when the WebView2 control has focus. All shortcuts are processed at the form level for consistent behavior.

🔧 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 (Fixed in v1.4.4)

Problem: "CoreWebView2 can only be accessed from the UI thread" error

Solution: Update to MDViewer v1.4.4 or later - this critical issue has been resolved.

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 Install-MDViewer-v1.4.4.bat 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.json next to executable
  • Recent Files: recent-files.json in 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 winver to 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

Current Version: 1.4.4

  • Release Date: June 23, 2025
  • Critical Fix: WebView2 threading issues resolved
  • Stability: Production-ready for enterprise use
  • Compatibility: Windows 10 version 1809+, .NET 8

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