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

Properly indent Pygments code blocks under lists (BB-7079)

    XMLWordPrintable

Details

    Description

      Bitbucket wiki supports Pygments syntax.

      It seems only it works at the top level, unfortunately.

      I hope that Pygments blocks can be indented into lists, same as GitHub wiki.

      Sample code:

      # header 1
      
      ## header 1.1
      
      1. Description 1
      
      

      Some code 1

      1. Description 2
      
      

      Some code 2

      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            8a4c1f96ed86 atw_skomatsu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: