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

Fenced code blocks inside list (BB-7955)

    XMLWordPrintable

    Details

      Description

      The following works:

      Unfenced code block with double indentation

      * List item
      
              .post-list li .author a,
              .post-list li .author a:hover {
                  color: #F30;
                  text-transform: uppercase;
              }
      
      * Another list item
      

      However this doesn't work as expected

      I want syntax highlighting!

      * List item
      
          ```
          #!css
      
          .post-list li .author a,
          .post-list li .author a:hover {
              color: #F30;
              text-transform: uppercase;
          }
          ```
      
      * Another list item
      

      Look here for reference: Fenced code blocks inside ordered and unordered lists

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dpashk Dmitry Pashkevich
              Votes:
              130 Vote for this issue
              Watchers:
              91 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: