-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Severity 3 - Minor
-
Summary
By default, the Code Macro allows the user to select the Syntax Highlighting for a specific language so the code will be adapted to it.
However, if the macro is used in the Comment section of Confluence, no syntax highlighting will be applied to the same. The code will render as simple text inside the macro.
Steps to Reproduce
- In any Confluence page, click on the comment field in order to add a new comment
- There, from the drop-down menu to select macros (plus icon), click on other macros and select the Code Block one
- Apply any syntax highlighting and make sure that a code matching with the same will be added
- Publish the comment
Expected Results
The macro should have its syntax highlighting applied to the style. Looking like the following:
Actual Results
No syntax highlighting is applied. The code will look like the following:
Workaround
There is no workaround at the moment.
- is related to
-
CONFCLOUD-79126 Macros not rendering in Questions for Confluence
-
- Closed
-