dracula / notepad-plus-plus

🧛🏻‍♂️ Dark theme for Notepad++
https://draculatheme.com/notepad-plus-plus
MIT License
275 stars 107 forks source link

.md files are bugged, look terrible #24

Closed vibonacci closed 2 years ago

vibonacci commented 4 years ago

image

As you can see in the above example, .md files look very strange. When you select lines, the text is almost unreadable: the font color is nearly the same as the background color.

This is the only file extension that I've encountered up until now where I am not very happy with the looks

filipe-maia commented 4 years ago

I can confirm this. I cannot read what I'm writing because the text in the active line is the same colour as the background.

Cursor in the end of line 1:

cursor is in the end of line 1

Cursor in the end of line 3:

cursor is in the end of line 3

Line 3 is selected:

line 3 is selected

Cursor in the end of line 5:

cursor is in the end of line 5
ukarim commented 4 years ago

@vibonacci @filipe-maia Currently npp doesn't support syntax highlighting for markdown files. But in case of user defined language you can customize xml config that usually placed in %AppData%\Notepad++\userDefineLangs. Just use colors from https://github.com/dracula/dracula-theme#color-palette and replace settings defined in <Styles> tag

filipe-maia commented 4 years ago

@ukarim Thank you very much.

I'm using a portable version of Notepad++, so I did not go to %AppData%\Notepad++\userDefineLangs, instead I went into {npp portable folder}\userDefineLangs and there I found a file named userDefinedLang-markdown.default.modern.xml.

I opened that file and edited it, I used all the colours in https://github.com/dracula/dracula-theme#color-palette plus a few new ones.

After that, I restarted Notepad++.

The end result is nothing special, but at least now I can work with MD files without problems:

md

Here it is my XML after I edited it: userDefinedLang-markdown.default.modern.xml.zip

EDIT: new version of my XML without an error on line 37: userDefinedLang-markdown.default.modern.xml [NEW VERSION, WITHOUT ERROR IN LINE 37].zip

GitHub-Mike commented 4 years ago

Here it is my XML after I edited it: userDefinedLang-markdown.default.modern.xml.zip

You have an error in line 37:

<Styles>bd93f9

And attention the user defined language configuration files are overwritten with the next update!

zvit commented 4 years ago

I can confirm this when editing an AutoHotkey file (.ahk)

Tried styling the