mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #708] fix(markdown): render checkbox inline with list item text #727
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#727
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/708
Author: @mocksoul
Created: 2/19/2026
Status: 🔄 Open
Base:
main← Head:fix/markdown-checkbox-rendering📝 Commits (1)
17ebde9fix(markdown): render checkbox inline with list item text📊 Changes
1 file changed (+12 additions, -3 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+12 -3)📄 Description
The marked lexer emits a
checkboxtoken as the first child of a task list item. The renderer did not handle this token type, so it fell through torenderTokenToChunks()which rendered it as raw text on a separate line:Now the checkbox token is consumed first and rendered inline before the item text:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.