Update Confluence's syntax highlighting for C++ language

XMLWordPrintable

      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:

      1. Create a page.
      2. 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

            Assignee:
            Unassigned
            Reporter:
            Deividi Luvison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: