===== Notepad++ configuration ===== ==== Syntax highlighting ==== [[https://github.com/Edditoria/markdown_npp/|Editoria/markdown_npp]] provides a good set of language definitions for Markdown. ==== Visual preview ==== These instructions are adapted from [[https://www.dropbox.com/s/vkimp893j80pgxz/PryrtMarkdown.md?dl=0|this article]] (originally [[https://notepad-plus-plus.org/community/topic/10957/looking-for-markdown-plugin#4|posted in the Notepad++ forums]]). Primarily, I've replaced the Python script with a [[http://pandoc.org/|pandoc]] command. - Install the [[http://fossil.2of4.net/npp_preview/home|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 ''\AppData\Roaming\Notepad++\plugins'' you'll also need to [[http://docs.notepad-plus-plus.org/index.php/Configuration_Files|allow AppData plugins]] by adding an empty ''allowAppDataPlugins.xml'' file to ''%ProgramFiles(x86)%\Notepad++''. - Install ''pandoc'' for converting from Markdown to HTML. I recommend [[https://chocolatey.org/packages/pandoc|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 [[https://www.dropbox.com/s/vkimp893j80pgxz/PryrtMarkdown.md?dl=0|this post]] ([[https://notepad-plus-plus.org/community/topic/10957/looking-for-markdown-plugin#4|alternate link]])) for more configuration options like context menus, hot keys, etc.