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.

      Workaround

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

            [CONFCLOUD-65590] Code Block for Fabric Editor does not have Syntax Highlight for C#

            I'm happy to update this ticket and move it to done: C# highlighting is supported on published pages since late 2020. Thanks for raising this.

            Mario Nebl (Inactive) added a comment - I'm happy to update this ticket and move it to done: C# highlighting is supported on published pages since late 2020. Thanks for raising this.

            Timo Laru added a comment -

            Please fix this!

            Timo Laru added a comment - Please fix this!

            I am sure there are tons of Unity developers out there who don't know or care about this database existing, but this remains one of the only languages not supported by confluence and it's a huge problem.

            Cameron LaBorde-Zank added a comment - I am sure there are tons of Unity developers out there who don't know or care about this database existing, but this remains one of the only languages not supported by confluence and it's a huge problem.

            It is currently listed as CSharp instead of C# in the dropdown. We're looking into changing it to be C#.

            Klaus (Inactive) added a comment - It is currently listed as CSharp instead of C# in the dropdown. We're looking into changing it to be C#.

            Visual Basic appears to also not be functional. 

            Cameron LaBorde-Zank added a comment - Visual Basic appears to also not be functional. 

              53bd4b6a5ce0 Samuel Razali (Inactive)
              mbomfim Kombi, the best car ever (Inactive)
              Affected customers:
              21 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: