contentdb
contentdb copied to clipboard
Incorrect markdown rendering of code block in list item
Summary
In a mod's readme, this code
* item
```
line 1
line 2
```
results in inline code like this:
- item
line 1 line 2
instead of
- item
line 1 line 2
Steps to reproduce
Encountered here (Settings section). Correct rendering here
edit: I changed the markdown in contentdb to have a better rendering, but the upstream markdown still triggers the bug
There is supposed to be a blank line between the text and the code block, but ContentDB also doesn't support that
I suppose this was closed because it's an upstream issue. Do you know if there is a ticket about it in the upstream tracker?
This is intended behaviour by the python markdown parser as markdown requires blank lines between blocks
I'm planning on moving away from python markdown to something a bit less strict, see #537