# Markdown Viewer

A small stand-alone Windows Markdown viewer that opens `.md` files in a readable window with clickable links.

## Features

- Fast Windows desktop `.exe`
- No install required
- Open files with a button, drag and drop, or command-line argument
- Clickable `http`, `https`, `mailto`, and `file` links
- Dark mode toggle
- Automatic reload when the file changes on disk
- Copy button on each code block
- Basic Markdown rendering for headings, paragraphs, lists, quotes, tables, images, code blocks, bold, italic, and inline code
- Optional user-level file association for `.md`, `.markdown`, and `.mdown`

## Build

Run:

```powershell
powershell -ExecutionPolicy Bypass -File .\build.ps1
```

The output is `MdViewer.exe` in the project root.

## Run

```powershell
.\MdViewer.exe .\example.md
```

## File Association

Use the `Associate .md` button to register this viewer for the current user account.
