addons icon indicating copy to clipboard operation
addons copied to clipboard

[Bug]: Markdown description doesn't render (un)ordered lists correctly

Open Juraj-Masiar opened this issue 10 months ago • 3 comments

What happened?

The Ordered / Unordered lists are both wrongly rendered, it's just a normal text, there is no ul / li, and thus no padding / margin.

Image

What did you expect to happen?

Image

And some real world example from one of my addons:

Image (left OLD, right NEW - bad)

Is there an existing issue for this?

  • [x] I have searched the existing issues

┆Issue is synchronized with this Jira Task

Juraj-Masiar avatar Mar 04 '25 13:03 Juraj-Masiar

FYI: This is an issue with how we pass the text to the Markdown library / how it parses the text. As band-aid in the meantime, if you create a new line between the text and list, it should behave as expected.

Image

Image

chrstinalin avatar Mar 04 '25 14:03 chrstinalin

Thanks @chrstinalin ! This helps, although nested lists seems to be broken even with an extra line.

Juraj-Masiar avatar Mar 04 '25 14:03 Juraj-Masiar

I've managed to fix the deep lists by using a different list syntax:

Example:

*   level one
    still level one
    *   level two
    *   level two

    level one again - continues

(it's a star and 3 spaces)

Juraj-Masiar avatar Mar 05 '25 13:03 Juraj-Masiar