Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-12191

syntax highlighting for wiki's with RestructuredText does not work (BB-15599)

    XMLWordPrintable

Details

    Description

      The documented examples do not work for RST code highlighting.
      The <code> tool in the editor creates a

      #!restructuredText
      
       .. sourcecode :: python 
        block 
      
      

      and that does not render with any highlighting at all.
      There are questions on the board with users reporting the same for C as well as Python so this appears to be more than just one language.

      To Reproduce:

      Start a new wiki page, set it as a restructuredText markup, insert a code block, either from the example our using the tool. Click "view" and watch it NOT highlight. Click save and watch it render without highlighting.

      Bug is seen by other Atlassian Employee: @aahmed
      https://jira.atlassian.com/browse/BSERV-8263

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              30880d251336 dundeemt
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: