mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #783] [CLOSED] fix(markdown): style code blocks and apply renderNode updates #1561
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#1561
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/783
Author: @ryanfreckleton
Created: 3/5/2026
Status: ❌ Closed
Base:
main← Head:fix-markdown-codeblock-style📝 Commits (3)
cfab273fix(markdown): style code blocks and apply renderNode updatesa1b1ae8fix(markdown): use default foreground for code blocks67c7014fix(markdown): preserve fenced syntax highlighting📊 Changes
2 files changed (+195 additions, -2 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+70 -2)📝
packages/core/src/renderables/__tests__/Markdown.test.ts(+125 -0)📄 Description
Latest opencode broke rendering code blocks on solarized light now that they've switched to the experimental markdown renderer. This definitely fixes it locally, and I think it doesn't break anything else.
Summary
MarkdownRenderablerenderNodesetter so JSX prop updates trigger block rebuildsrenderNodeupdatesTesting
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.