Skip to content

Notepad++ user defined language file for Markdown highlighting. Uses Bespin (dark) colors.

Notifications You must be signed in to change notification settings

wfwei/Notepad---Markdown-Highlighting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notepad++ Markdown Highlighting

Colors

This style uses Bespin (light on dark) colors. You'll probably have to do some color editing to make it fit your chosen theme -- unfortunately user defined language styles can't inherit colors from their parent theme.

Style Guide

Because of limits of the generic Notepad++ user defined language lexer, highlighting is partial and a little buggy. But you can still get a lot out of it if you follow some simple style rules:

  • Use the # syntax for headers, not underlines.
  • Remember *, _, and > only highlight the first word they've marked down.
  • Use + for lists, or change it in the dialog to dashes. Asterisks will conflict with emphasis highlighting.
  • Horizontal rules should be 3 to 13 dashes, no spaces.
  • Nothing works if you start or end it inside a word.
  • Remember there's no highlighting for indentation/<pre> tags.

How to use

  1. Open \[user]\AppData\Roaming\Notepad++
  2. Replace your userDefineLang.xml with the one in this repo, or add the contents of this userDefineLang.xml to the end of your current one.
  3. Restart Notepad++.
  4. Markdown highlighting will now automatically apply to .mkdn, .mkd, and .md files, or you can manually select it from the bottom of the "Language" menu.

Extra nerdity

If you like the way this highlighter looks so much you want to read everything in it, there's a css file that lets you do just that.

About

Notepad++ user defined language file for Markdown highlighting. Uses Bespin (dark) colors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published