Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-57635

Expand code macro to accept syntax highlighting language in macro name

XMLWordPrintable

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      The code block macro works well for highlighting code, but it's a PAIN to use.

      The #1 item to adjust on each and every code macro is the syntax highlighting language.

      It would be great if there was a way to specify options on the command line when adding a code macro. i.e.

      {{ {code:bash<enter> }}

      This would speed things up dramatically when adding code documentation or snippets.

       

              Unassigned Unassigned
              acdd17030b72 SharperTool
              Votes:
              89 Vote for this issue
              Watchers:
              31 Start watching this issue

                Created:
                Updated: