markdown
Table of Contents
Notepad++ configuration
Syntax highlighting
Editoria/markdown_npp provides a good set of language definitions for Markdown.
Visual preview
These instructions are adapted from this article (originally posted in the Notepad++ forums). Primarily, I've replaced the Python script with a pandoc command.
- Install the PreviewHTML plugin from the web site - Plugin Manager has an old version.
- Copy the zip file contents to
Notepad++\plugins
- If you put the DLL in
<user>\AppData\Roaming\Notepad++\plugins
you'll also need to allow AppData plugins by adding an emptyallowAppDataPlugins.xml
file to%ProgramFiles(x86)%\Notepad++
.
- Install
pandoc
for converting from Markdown to HTML. I recommend using Chocolatey - Configure PreviewHTML
- Plugins → Preview HTML → Edit filter definitions (this opens
Filters.samples.ini
) - Add the following section, then Save As
Filters.ini
:
[Markdown] Extension=.md .markdown Language=Markdown Command=pandoc -f markdown -t html "%1"
More
See this post (alternate link)) for more configuration options like context menus, hot keys, etc.
markdown.txt · Last modified: 2017/03/13 23:25 by shawn