You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vertical spacing incorrect for nested lists and lists with multi-paragraph items #3292
If a list item comprises multiple paragraphs, or has children, then the vertical spacing between paragraphs or items within the list item should not exceed the vertical spacing between this parent item and other items at the same level.
Consider a Markdown document with the following contents:
Lorem ipsum: Est dolor quia dolorum est illum quasi aperiam autem. Magnam assumenda hic accusantium dolores et quia culpa officia. Nisi architecto hic repudiandae
1. One
1. Two
Two and a half
- Two and four sixths
- Two and five sixths
1. Three
Note that some extraneous content (i.e. Lorem ipsum) has been placed at the beginning, in order to work around the design issue reported in #2976, #2983, #3241, and #3246.
The document as rendered by the application has been captured by a screenshot (see below).
Expected behavior
In contrast, a different application (Markor) renders the same document quite differently (see below).
Many other applications render the document similarly, in terms of vertical spacing, in contrast to the rendering by Nexctcloud Notes for Android.
I feel strongly that the vertical spacing rendered by Markor is correct, whereas the spacing unfortunately is not correct as rendered by Nextcloud Notes for Android.
Vertical spacing between list items, at any particular level, should be consistent regardless of any child lists, and also should not exceed the vertical spacing between items at the level of the parent.
I could indeed reproduce this with the markdown provided.
However, the markdown renderer seems to be a fork of Markwon contained in the nextcloud-commons library. @tobiasKaminsky how do I approach this?
Activity
daniele-verducci commentedon Sep 14, 2026
I could indeed reproduce this with the markdown provided.
However, the markdown renderer seems to be a fork of Markwon contained in the nextcloud-commons library.
@tobiasKaminsky how do I approach this?
brainchild0 commentedon Sep 16, 2026
As a related matter, loose lists are not being recognized. (Note that a list is implicitly loose if any item has children.)