• Login
Community
  • Login

Markdown files are colored with dark text on a light background, even with a dark theme; how do I change?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 6 Posters 6.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JeremyMorton
    last edited by Mar 26, 2019, 3:55 PM

    Whitespace is still a dark background, and the current line is a dark background, making it impossible to read the current line.

    The Style configurator is set to Vibrant Ink theme, and all the languages have dark background colors. I don’t know where .md file colors are specified.

    E 1 Reply Last reply Mar 26, 2019, 6:37 PM Reply Quote 0
    • A
      andrecool-68
      last edited by andrecool-68 Mar 26, 2019, 5:27 PM Mar 26, 2019, 5:27 PM

      The color of the current row is here:

      Imgur

      1 Reply Last reply Reply Quote 0
      • E
        Ekopalypse @JeremyMorton
        last edited by Mar 26, 2019, 6:37 PM

        @JeremyMorton

        the markdown lexer is a UDL (user-defined-lexer) and unfortunately UDLs are not
        covered by themes - only builtin lexers are.
        I assume you are using npp 7.6.4, have a look for a file called
        userDefinedLang-markdown.default.modern.xml

        1 Reply Last reply Reply Quote 5
        • J
          JeremyMorton
          last edited by Mar 26, 2019, 8:31 PM

          Thanks, I was able to edit the color values in that file to have it look a lot less odd.

          1 Reply Last reply Reply Quote 3
          • T
            Tal Glo
            last edited by Apr 23, 2019, 10:53 AM

            @JeremyMorton: is it possible for you to post your changes here?

            1 Reply Last reply Reply Quote 0
            • M
              Max Lovic
              last edited by May 15, 2019, 2:08 PM

              Here is a list of styles for markdown
              https://github.com/Edditoria/markdown-plus-plus

              1 Reply Last reply Reply Quote 3
              • O
                OzBob
                last edited by May 20, 2021, 8:33 AM

                @Max-Lovic has provided a nice looking solution.
                How can this be merge into the main notepad++ repo?
                I tried removing all the ‘styles’ from userDefineLang.xml which did not work.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors