mohzy83 / NppMarkdownPanel

Lightweight Notepad++ plugin to preview Markdown files
MIT License
228 stars 37 forks source link
csharp markdown-viewer notepad-plusplus-plugin

MarkdownPanel for Notepad++

Plugin to preview Markdown files in Notepad++

Current Version

The current version is 0.7.3 it can be found here

Prerequisites

Installation

Installation in Notepad++

The plugin can be installed with the Notepad++ Plugin Admin. The name of the plugin is Markdown Panel.

Manual Installation

Create the folder "NppMarkdownPanel" in your Notepad++ plugin folder (e.g. "C:\Program Files\Notepad++\plugins") and extract the appropriate zip (x86 or x64) to it.

It should look like this:

pluginfolder

Usage

After the installation you will find a small purple markdown icon in your toolbar. Just click it to show the markdown preview. Click again to hide the preview. Thats all you need to do ;)

npp-preview

With dark mode enabled in Notepad++:

npp-preview-dm

Settings

To open the settings for this plugin: Plugins -> MarkdownPanel -> Settings npp-settings

Preview Window Toolbar

Synchronize viewer with caret position

Enabling this in the plugin's menu (Plugins -> MarkdownPanel) makes the preview panel stay in sync with the caret in the markdown document that is being edited.
This is similar to the Synchronize Vertical Scrolling option of Notepad++ for keeping two open editing panels scrolling together.

Synchronize with first visible line in editor

When this option is enabled, the plugin ensures that the first visible line in the editor is also visible in the preview. (This is an alternative to Synchronize viewer with caret position)

Version History

Version 0.7.3 (released 2023-02-12)

Version 0.7.2 (released 2023-02-11)

Version 0.7.1 (released 2022-12-27)

Version 0.7.0 (released 2022-12-09)

Version 0.6.2 (released 2022-06-02)

Bugfix release

Version 0.6.1 (released 2022-05-26)

Version 0.6.0 (released 2022-05-26)

Version 0.5.0

Version 0.4.0

Version 0.3.0

Version 0.2.0

Used libs and resources

Name Version Authors Link
Markdig 0.30.4 xoofx https://github.com/lunet-io/markdig
NotepadPlusPlusPluginPack.Net 0.95 kbilsted https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net
ColorCode (Portable) 1.0.3 Bashir Souid and Richard Slater https://github.com/RichardSlater/ColorCodePortable
Markdig.SyntaxHighlighting 1.1.7 Richard Slater https://github.com/RichardSlater/Markdig.SyntaxHighlighting
github-markdown-css 3.0.1 sindresorhus https://github.com/sindresorhus/github-markdown-css
Markdown icon dcurtis https://github.com/dcurtis/markdown-mark

The plugin uses portions of nea's MarkdownViewerPlusPlus Plugin code - https://github.com/nea/MarkdownViewerPlusPlus

Contributors

Thanks to the contributors:

vinsworldcom, rdipardo, andrzejQ, RicoP, UrsineRaven and eeucalyptus

License

This project is licensed under the MIT License - see the LICENSE.txt file for details