Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-68135

Questions for Confluence Code block does not highlight syntax

XMLWordPrintable

      Issue Summary

      Code Blocks in questions for Confluence do not do any syntax highlighting even when a language is selected.

      Environment

      Questions for Confluence

      Steps to Reproduce

      1. Create a question.
      2. In a comment/reply to the question add a code block with some code
      3. Set a language for the code.

      Expected Results

      Syntax for the selected language is highlighted.

      Actual Results

      The Code is not highlighted and remains formatted as plain monospaced text.

      Workaround

      Currently, there is no known workaround

        1. code block in questions.PNG
          27 kB
          Oksana Bodnar

              Unassigned Unassigned
              jlong@atlassian.com Jared Long
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: