-
Type:
Suggestion
-
Resolution: Won't Fix
-
None
-
Component/s: Editor - Page / Comment Editor
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Confluence's syntax highlighting in Code Block Macro have some functions that are not being highlighted.
Steps to reproduce:
- Create a page.
- Insert Code Block Macro with below code.
void report_error(const char *msg) { enum { BUFFERSIZE = 24 }; const char *error_log = msg; char buffer[BUFFERSIZE]; snprintf(buffer, BUFFERSIZE, "Error: %s", error_log); printf("%s\n", buffer); }
You will notice that "printf" will be highlighted in pink but "snprintf" wont.
Thanks and Regards,
David|Atlassian Support
- relates to
-
CONFCLOUD-31362 Update Confluence's syntax highlighting for C++ language
- Closed