Repository navigation
Handle nested lists in Markdown renderer - #6115
Merged
Merged
Conversation
MaxGyver83
marked this pull request as draft
February 16, 2026 16:43
- Keep track of list indentation level - Indent sub-lists with 4 spaces per level - Pull (sub) lists out of `ParagraphSegment`s -> Sub list becomes an additional list item (of the outer list)
MaxGyver83
force-pushed
the
nested-lists-markdown
branch
from
February 16, 2026 16:50
a6f6d8e to
d9d3ee5
Compare
andydotxyz
marked this pull request as ready for review
February 16, 2026 17:40
andydotxyz
marked this pull request as draft
February 16, 2026 17:40
andydotxyz
previously approved these changes
Feb 16, 2026
andydotxyz
left a comment
Member
There was a problem hiding this comment.
Thanks for working on this, we appreciate the help.
I reckon this is a solid fix - not sure why you just set it as a draft :)
MaxGyver83
marked this pull request as ready for review
February 16, 2026 18:37
Member
Author
My pleasure!
I had noticed that both indentation and numbering were wrong for nested ordered lists. Now, this PR is ready! |
This comment was marked as resolved.
This comment was marked as resolved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ParagraphSegments -> Sub list becomes an additional list item (of the outer list)Description:
Fixes #6113
Example of nested lists created from Markdown:
Checklist: