Syntax highlighting seems to be working only for first block inside a list item

markdown

(Discourse.PRO) #1

First of all, thanks to @riking for the solution to make syntax highlighting inside a list item.
But for me it works only for the first code block inside a list item and for some reason does not work for the next code block inside the same list item.

An example of text:

  1. Edit composer.json file in the Magento 2 root folder: change PHP version rule from

    "php": "~5.4.11|~5.5.0"
    

    to

    "php": ">=5.4.11"
    
  • Delete composer.lock file from the Magento 2 root folder.

As you can see, for some reason syntax highlighting works for the first code block but does not work for the second.