• We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Would be great if python syntax highlighting were supported in {code} blocks like some other languages.

      {code:python}
      def foo():
          print('hi')
      {code}
      
      Unable to find source-code formatter for language: python.
      Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      def foo():
          print('hi')
      

            [CONFSERVER-33145] Support {code:python} in wiki markup

            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3569147 ] New: JAC Suggestion Workflow 3 [ 4329784 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3174296 ] New: JAC Suggestion Workflow 4 [ 3569147 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3030654 ] New: JAC Suggestion Workflow 2 [ 3174296 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2536833 ] New: JAC Suggestion Workflow [ 3030654 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2256288 ] New: Confluence Workflow - Public Facing v4 [ 2536833 ]
            Adam Barnes (Inactive) made changes -
            Resolution New: Won't Do [ 10000 ]
            Status Original: Needs Verification [ 10004 ] New: Resolved [ 5 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2153346 ] New: Confluence Workflow - Public Facing v3 [ 2256288 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1935954 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2153346 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1758141 ] New: Confluence Workflow - Public Facing v3 [ 1935954 ]
            jonah (Inactive) made changes -
            Description Original: Would be great if python syntax highlighting were supported in \{code\} blocks like some other languages.

            {noformat}
            {code:python}
            def foo():
                print('hi')
            {code}
            {noformat}

            {noformat}
            Unable to find source-code formatter for language: python.
            Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
            def foo():
                print('hi')
            {noformat}
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-33145].
              {panel}

            Would be great if python syntax highlighting were supported in \{code\} blocks like some other languages.

            {noformat}
            {code:python}
            def foo():
                print('hi')
            {code}
            {noformat}

            {noformat}
            Unable to find source-code formatter for language: python.
            Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
            def foo():
                print('hi')
            {noformat}

              Unassigned Unassigned
              515ec7fdf98f Scott Milliken
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: