Syntax Highlighting Issue for Powershell in Code Block Macro

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      When trying to use the Syntax Highlighting configuration for Powershell in the Code Block Macro, the highlighting does not work properly. Specifically, only the second half/part of the command is being highlighted.

      Steps to Reproduce

      1. Create a new page in Confluence
      2. Under the macro menu (plus icon), select Other Macros
      3. Search for the Code Block Macro
      4. Once the macro is on the page, insert a Powershell code, click on it and Edit
      5. On the Syntax Highlighting drop down, select Powershell

      Expected Results

      The Syntax Highlighting should properly highlight the command, not only a part, as the example below:

      Actual Results

      The macro highlights only a part of the command:

       

      Workaround

      No workaround found at the moment.

        1. macro.png
          macro.png
          121 kB
        2. powershell.png
          powershell.png
          9 kB

            Assignee:
            Unassigned
            Reporter:
            Giuliano C.
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: