Open ghost opened 5 years ago
TBH I don't know that anyone will ever address this. If you care enough, your best shot may be fixing it yourself and submitting a PR.
How did you enable syntaxhighlighting for markdown files (.markdown, .md)? I'm using v771 but it doesn't has markdown in Language menu.
How did you enable syntaxhighlighting for markdown files (.markdown, .md)? I'm using v771 but it doesn't has markdown in Language menu.
It's an "User Defined language file" (hint: bottom-left corner).
Possibly, the used file is in https://github.com/Edditoria/markdown-plus-plus. Solarized was added on 19th January 2019.
When using the 'Solarized Dark Theme' with no changes Markdown files are rendered very poorly and are difficult to read. Also for some reason the Markdown language shows (default) which I don't remember ever setting. In fact, Markdown does not even show up in the languages dropdown.
You have an "User Defined language file" (hint: bottom-left corner). It's possible that it was added as an experiment or for necessity, a while ago, and you forgot.
You have the file from https://github.com/Edditoria/markdown-plus-plus You can compare the syntax highlighted with the default theme: https://github.com/Edditoria/markdown-plus-plus/blob/master/theme-default/markdown-plus-plus-default-screenshot.png
All you need to do is to get the Solarized theme, and use it.
@ismael-miguel I did not define this language. And in fact on a second machine I did a clean install and had the same issue. It also showed 'User defined language' and this is without ever opening the settings. I never added themes from another location, only ever using the official NPP installer.
User defined languages aren't defined in the settings.
They can be added/imported from "Language" > "Define your language..." option.
What I am saying is that I never added or configured the language and even on a new install this is how Markdown files render, including showing the user defined label.
What @evitalis says is correct: Without changing anything in a default N++ install, markdown files (.md) are detected and shown as UDL.
Now THAT is weird as hell.
Maybe the markdown was somehow included in there by default? Is it showing in the User Defined Language editor?
Maybe the markdown was somehow included in there by default?
That's what we've been trying to tell you
Is it showing in the User Defined Language editor?
Well, is it for YOU?
In scintilla MD lexer was added with 2.02:
Markdown lexer added. Feature #2844081.
maybe N++ support via scintilla lexer would result in a better user experience than the UDL solution available right now. @donho What do you think about adding MD lexer support?
Well, is it for YOU?
I can't test it. I have an old version at home and have the Markdown user defined language installed.
Same issue
You may replace the language file by this one. It's the same as the one coming with Notepad++, but instead of the "white" background, it uses transparent background. But the markdown file will probably be hard to read on a dark background with this language file... userDefinedLang-markdown.default.modern.zip
Any update coming for this by chance? I am still seeing the issue with 7.8.7.
Description of the Issue
When using the 'Solarized Dark Theme' with no changes Markdown files are rendered very poorly and are difficult to read. Also for some reason the Markdown language shows (default) which I don't remember ever setting. In fact, Markdown does not even show up in the languages dropdown.
Steps to Reproduce the Issue
Expected Behavior
Proper coloring consistent with the theme similar to others.
Actual Behavior
See screenshot below which loads the README.md file from this repository in a new file.
Screenshot of the issue: https://i.imgur.com/kviRfeR.png
Debug Information
Notepad++ v7.7.1 (64-bit) Build time : Jun 16 2019 - 21:24:47 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : none