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

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


      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.


      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)
            21 Vote for this issue
            13 Start watching this issue