User Tools

Site Tools


markdown

This is an old revision of the document!


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.

  1. Install the PreviewHTML plugin from the web site - Plugin Manager has an old version.
  2. Install pandoc for converting from Markdown to HTML. I recommend using Chocolatey
  3. Configure PreviewHTML
    1. PluginsPreview HTMLEdit filter definitions (this opens Filters.samples.ini)
    2. 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.1486173701.txt.gz · Last modified: 2017/02/04 02:01 by shawn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki