Browse Source

fix: markdown table renders (#1623)

Aiden Cline 6 months ago
parent
commit
677fb6032b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/tui/internal/styles/markdown.go

+ 2 - 0
packages/tui/internal/styles/markdown.go

@@ -285,6 +285,8 @@ func generateMarkdownStyleConfig(backgroundColor compat.AdaptiveColor) ansi.Styl
 			StyleBlock: ansi.StyleBlock{
 				StylePrimitive: ansi.StylePrimitive{
 					BlockSuffix: "\n",
+					// TODO: find better way to fix markdown table renders
+					BackgroundColor: stringPtr(""),
 				},
 			},
 			CenterSeparator: stringPtr("┼"),