# Hue MD for Notepad++ (`hue-md.dll`) A native x64 plugin that adds [Hue Markdown](https://spingras.github.io/hue-md/) to Notepad++: - **Live preview** (`Ctrl+Shift+H`): a rendered preview docked next to the editor. Drag the splitter to change its width. - **Editor coloring:** Hue spans and box borders get their color in the editor, on top of the normal Markdown highlighting. Light and dark themes are detected. Ordinary braces such as `{a: 1}` and code stay plain. Only Markdown files (`.md`, `.markdown`) and new unsaved files get colors. While you type, the plugin colors the lines on screen after a short pause. When Notepad++ supports `NPPM_ALLOCATEINDICATOR`, the plugin asks Notepad++ for free indicator numbers, so it does not clash with other plugins. - **GitHub export** (`Ctrl+Shift+G`): opens the GitHub Markdown version of the file in a new tab. Boxes become GitHub alerts. The **Plugins → Hue Markdown** menu also opens the preview in your browser, turns coloring on or off, updates the preview on save and opens a demo file. ## Install The release zip holds `install.ps1` and a `hue-md` folder with `hue-md.dll`, `hue-md.cjs` and `demo.hue.md`. The plugin needs all three files in one folder. It also needs Node.js for the preview and export. 1. Download [`hue-md-npp-x64.zip`](https://github.com/spingras/hue-md/releases/latest/download/hue-md-npp-x64.zip) and extract it. 2. Right-click `install.ps1` and choose **Run with PowerShell**. It asks for admin rights once and copies `hue-md` to `C:\Program Files\Notepad++\plugins\hue-md\`. 3. Restart Notepad++. For a portable Notepad++, give your own plugins folder (no admin needed): ```powershell .\install.ps1 -TargetDir "D:\Notepad++\plugins\hue-md" ``` ## Development From the repo root: | Script | Does | | :--- | :--- | | `.\packages\notepadpp-hue\build.ps1` | Builds `hue-md.dll` | | `.\packages\notepadpp-hue\test.ps1` | Builds the DLL and the native tests, then runs the tests (CI runs it on Windows) | | `.\packages\notepadpp-hue\run-local.ps1` | Builds if needed, sets up a portable Notepad++ in `%LOCALAPPDATA%\Notepad++Hue` and opens the demo (no admin needed) | | `.\packages\notepadpp-hue\install-system.ps1` | Copies the built `hue-md.dll` into `C:\Program Files\Notepad++\plugins\hue-md\` (asks for admin rights) |