Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ Unwanted syntax Highlighting for Markdown

Following the latest update for NPP on Windows 10, my markdown is now highlighted like in the image below (I know it's Python code, that's not the point).

I want completely plain code for Markdown - just white on black. However I can't find an option to set this in the setting menu as Markdown doesn't appear as a language.

Please help. This has seriously messed with my workflow.

enter image description here

like image 792
Robin Andrews Avatar asked Jun 23 '19 09:06

Robin Andrews


People also ask

Does Notepad support Markdown?

MarkdownViewer++ is a Notepad++ plugin that lets you type a file using Markdown and see the preview in real time, in a preview panel.

How do I remove syntax highlighting in Notepad ++?

Click on LANGUAGE -> N -> NORMAL TEXT You may have somehow selected Java as the language setting of your documents. You can also set the default by going to: SETTINGS -> PREFERENCES -> NEW DOCUMENT -> DEFAULT TEXT -> DEFAULT LANGUAGE and set that to "Normal Text". Save this answer. Show activity on this post.

How do I add syntax highlighting to Markdown?

Many Markdown processors support syntax highlighting for fenced code blocks. This feature allows you to add color highlighting for whatever language your code was written in. To add syntax highlighting, specify a language next to the backticks before the fenced code block.


1 Answers

I have had identical issue and it turned out that I have installed user defined language that was not compatible with my current N++ style.

You can go to %APPDATA%\Notepad++\userDefineLangs and check whether you have some unwanted definitions there. You can also check it in Language menu - there is a big chance .md files opens with User-defined or some installed language.

Obviously, you can find and install user defined style that suits your N++ style and get something actually useful like I did (try https://github.com/Edditoria/markdown-plus-plus)

like image 98
Łukasz Kołodziejczyk Avatar answered Oct 13 '22 14:10

Łukasz Kołodziejczyk