Code snippet breaks with ordered lists

Testing version:

2.0.9

What were you doing:

Try to add code snippet in a ordered list (Video example)

What feature did you use:

Code Snippet, Ordered List

What happened:

Code snippet is breaking

What did you expect to happen:

Code snippet to be in the list item

Yes, a code block must be indented on all lines if nested inside a list item. It is a bug that the indentation is removed when you start typing. We have a pending fix for it already.

We are also working on other code block improvements so that the end marker would have been automatically added in this case.

Thanks for reporting!

1 Like