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.9k Views 1 Watching
    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 Offline
      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 Offline
        andrecool-68
        last edited by andrecool-68

        The color of the current row is here:

        Imgur

        1 Reply Last reply Reply Quote 0
        • EkopalypseE Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors