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.1k 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.
    • JeremyMortonJ
      JeremyMorton
      last edited by

      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.

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • andrecool-68A
        andrecool-68
        last edited by andrecool-68

        The color of the current row is here:

        Imgur

        1 Reply Last reply Reply Quote 0
        • EkopalypseE
          Ekopalypse @JeremyMorton
          last edited by

          @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
          • JeremyMortonJ
            JeremyMorton
            last edited by

            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
            • Tal GloT
              Tal Glo
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • Max LovicM
                Max Lovic
                last edited by

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

                1 Reply Last reply Reply Quote 3
                • OzBobO
                  OzBob
                  last edited by

                  @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