Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    7 貼文 6 Posters 6.4k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • JeremyMortonJ
      JeremyMorton
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • andrecool-68A
        andrecool-68
        最後由 andrecool-68 編輯

        The color of the current row is here:

        Imgur

        1 條回覆 最後回覆 回覆 引用 0
        • EkopalypseE
          Ekopalypse @JeremyMorton
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 5
          • JeremyMortonJ
            JeremyMorton
            最後由 編輯

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

            1 條回覆 最後回覆 回覆 引用 3
            • Tal GloT
              Tal Glo
              最後由 編輯

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

              1 條回覆 最後回覆 回覆 引用 0
              • Max LovicM
                Max Lovic
                最後由 編輯

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

                1 條回覆 最後回覆 回覆 引用 3
                • OzBobO
                  OzBob
                  最後由 編輯

                  @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 條回覆 最後回覆 回覆 引用 0
                  • 第一個貼文
                    最後的貼文
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors