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#

            Mario Nebl (Inactive) made changes -
            Resolution New: Done [ 17 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Mario Nebl (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Mario Nebl (Inactive) made changes -
            Assignee New: Samuel Razali [ 53bd4b6a5ce0 ]
            Mario Nebl (Inactive) made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            Bugfix Automation Bot made changes -
            Support reference count Original: 3 New: 4
            Sharon Tan made changes -
            Link New: This issue is related to CONFCLOUD-69840 [ CONFCLOUD-69840 ]
            Bugfix Automation Bot made changes -
            Support reference count Original: 2 New: 3
            Giuliano C. made changes -
            Description Original: h3. Issue Summary
            Fabric Editor does not have Syntax Highlight for C# Code

            h3. Environment
            - Fabric

            h3. Steps to Reproduce
             # Create a new page
             # Add a Code-Block
             # Right some C# Code
             # Publish the Page

            h3. Expected Results
            The code should be highlighted since we've selected the language on the drop-down

            h3. Actual Results
            It isn't

            h3. Workaround
             Currently, there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary
            In the [new editing experience|https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html], by using the C# (currently listed as CSharp) for syntax highlighting in the [Code Block macro|https://confluence.atlassian.com/confcloud/code-block-macro-724765175.html], it will not work/highlight the code specifically.

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

            h3. Expected Results
            The code should be highlighted according to the selected language.

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

            h3. Workaround
             Currently, there is no known workaround for this behavior. A workaround will be added here when available
            Giuliano C. made changes -
            Link New: This issue is caused by CONFCLOUD-66437 [ CONFCLOUD-66437 ]
            Michael Andreacchio made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]

              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: