mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #597] [CLOSED] Improve markdown quotes, nested lists, code inside lists, consistent vertical spacing #1422
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#1422
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/597
Author: @remorses
Created: 1/27/2026
Status: ❌ Closed
Base:
main← Head:improve-markdown-lists-and-spacing📝 Commits (10+)
c47d8cdfix: link-opentui-dev removes nested deps to prevent duplicates6c76248improve lists and spacing and quotes62f7f6aUpdate Markdown.test.ts9686d65Improve markdown render coveragec35ad4dFormat markdown snapshot updates41c75d3Fix streaming table render94b32d4Guard blockquote content accesse55deb4Fix test recorder timestamp assertion90f4b3bRender markdown lists as containers85aa4cdUnify markdown block render paths📊 Changes
2 files changed (+573 additions, -71 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+261 -68)📝
packages/core/src/renderables/__tests__/Markdown.test.ts(+312 -3)📄 Description
Adding experimental support for markdown in opencode I found various issues with quotes, nested lists, inconsistent spacing between elements, code blocks inside lists. This PR fixes all of them. Also added more tests with snapshots to show how the markdown output looks like in the TUI.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.