Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31631

Markdown code blocks rendered using syntax highlighting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 15.0.0
    • Editors
    • None

    Description

      The markdown renderer from Qt Creator doesn't use syntax highlighting when rendering code blocks.

      For example:

      Below you have a C++ "Hello World" example:
      
      ```cpp
      #include <iostream>
      
      int main() {
        std::cout << "Hello World\n";
      }
      ```
      

      Notice that the editor has the proper syntax highlighting, while the rendering doesn't.

      As a user I would prefer the rendering to be the same as the editor.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              madwinter Marcus Tillmanns
              cadam Cristian Adam
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes