-
Type:
Suggestion
-
Resolution: Won't Fix
-
Component/s: Collaboration - Comments
NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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
- is related to
-
CONFSERVER-31362 Update Confluence's syntax highlighting for C++ language
- Closed