mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #694] feat(markdown): render list items as nested containers #719
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#719
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/694
Author: @remorses
Created: 2/16/2026
Status: 🔄 Open
Base:
main← Head:feat/markdown-list-containers📝 Commits (5)
8e097d7refactor(markdown): extract createBlockRenderable and fix margin consistency7cf9b47fix: render space tokens as TextRenderable in createBlockRenderable1c283fafeat(markdown): render list items as nested containers3c29862test(markdown): add integration tests for combined list+blockquote rendering3c31ab1Merge branch 'main' into feat/markdown-list-containers📊 Changes
2 files changed (+400 additions, -53 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+144 -51)📝
packages/core/src/renderables/__tests__/Markdown.test.ts(+256 -2)📄 Description
Split from #597 to make review easier. Depends on #692.
Replaces flat text chunk list rendering with BoxRenderable containers. Each list item gets its own box, with the first inline text on the marker line and remaining child tokens (nested lists, code blocks) as indented children. Supports nested lists, task checkboxes, and code blocks inside list items.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.