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

Expand code macro to accept syntax highlighting language in macro name

    XMLWordPrintable

Details

    • 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.

    Description

      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: