mohzy83 / NppMarkdownPanel

Lightweight Notepad++ plugin to preview Markdown files
MIT License
224 stars 36 forks source link

Dark-mode .css anchor color is ignored when rendered in Notepad++ but displayed correctly in exported HTML #88

Open ScienceDiscoverer opened 1 year ago

ScienceDiscoverer commented 1 year ago

All links in dark mode are displayed the same colour as normal text (white). The style-dark.css style is ignored by the renderer.

To test this, I changed style-dark.css like this:

a {
  /*color: #BE7C3B;*/
  color: red !important;
  text-decoration: none;
}

However, all links rendered in Notepad++ window are still white, same as all the normal text. When I export HTML and view it in Firefox, the links are correctly rendered as red colour.

Plugin v0.7.3.0 Notepad++ v8.5.4