ninMonkey
ninMonkey

Reputation: 7511

Markdown syntax highlighting in SciTE/Notepad++

I'm looking for a .properties file for Markdown syntax in SciTE. Is it possible?

A partial highlighter would do, otherwise.

Upvotes: 21

Views: 15137

Answers (4)

liberborn
liberborn

Reputation: 185

I'm using Markdown-plus-plus. The install instruction is outdated on many projects. The actual instruction is:

  1. Select menu "Language" → "Define your language..."
  2. Press button "Import...", and select {markdown}.xml (from GitHub repositories).
  3. Restart Notepad++

Upvotes: 5

RobW
RobW

Reputation: 10611

I've uploaded my (dark) user-defined language Markdown highlighter on GitHub. It uses different workarounds than thomsmits', which for the style of Markdown I've chosen work better.

Until the Markdown Scintilla lexer is imported into Notepad++, user defined languages are the best we can do.

I don't use Notepad++ any more and have deleted my project. Try Brettz9's fork of the project here: https://github.com/brettz9/Notepad---Markdown-Highlighting

Upvotes: 10

leafnode
leafnode

Reputation: 1380

I'm using this syntax file: https://github.com/leafnode/markdown_npp with some color changes to fit dark background.

Upvotes: 22

PhiLho
PhiLho

Reputation: 41152

I believe somebody mentioned on the mailing list that he is working on such a lexer. I don't think a simple .properties file can do the job, as there isn't any existing lexer (to my knowledge) with similar syntax.

Upvotes: 3

Related Questions