Fenced code blocks inside list (BB-7955)

XMLWordPrintable

    • 2
    • 10,798

      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

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

              Created:
              Updated:
              Resolved: