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

Code Block for Fabric Editor does not have Syntax Highlight for C#

XMLWordPrintable

      Issue Summary

      In the new editing experience, by using the C# (currently listed as CSharp) for syntax highlighting in the Code Block macro, it will not work/highlight the code specifically.

      Steps to Reproduce

      1. Create or edit an existing page with the new editing improvements.
      2. Add a Code-Block/Code Snippet macro and add a code with the C# language
      3. Select C# (CSharp) as the syntax highlighting
      4. Publish the Page

      Expected Results

      The code should be highlighted according to the selected language.

      Actual Results

      No highlight is applied. The code is displayed as pure text within the macro.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              53bd4b6a5ce0 Samuel Razali
              mbomfim Kombi, the best car ever (Inactive)
              Votes:
              21 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: