Panda: Code blocks are not correctly recognized inside list items

Testing version: Version 1.0 (1563)

What were you doing: Writing up a technical answer on another Discourse forum!

What feature did you use: Lists with code blocks inside of them:

- a list item with some code in it:

    ```js
    function cool() {
      alert("This is neat!");
    }
    ```

What happened:

It did not correctly interpret the code block as a block item within the list. Instead, it treated it as an indentation-powered code block:

What did you expect to happen:

It should render roughly the same way it does on Discourse:

Thanks for the report, this is a rendering bug that we need to address.

It’s on our list but it doesn’t have a high priority. I’ll try to tackle this soonish :slight_smile:

Best.