Markdown doesn't render fenced code block inside a list

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Low
    • None
    • Affects Version/s: 2.11.3
    • None

      Placing a fenced code block inside a list item does not work. The following sample:

      ## Installation
      
      1. Require the package using composer:
      
         ~~~bash
         $ composer require vendor/package:1.*
         ~~~
      
      2. Publish the module's assets:
      
         ~~~bash
         $ bin/console asset:publish
         ~~~
      

      Should produce a list with two items each containing a fenced code block.

      Instead the result is two separate lists and no code blocks (just raw text with literal ~~~bash in the output).

            Assignee:
            Unassigned
            Reporter:
            Rafi Adnan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: