Skip to content

Commit 661ad44

Browse files
authored
Merge pull request #549 from dgageot/ident-block
This is broken
2 parents 1d65cfb + 87eb899 commit 661ad44

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/tui/components/markdown/renderer.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ func NewRenderer(width int) *glamour.TermRenderer {
1414
customDarkStyle.Document.BlockPrefix = ""
1515
customDarkStyle.Document.BlockSuffix = ""
1616

17+
// The default indent token is buggy. It breaks line splitting.
18+
customDarkStyle.BlockQuote.IndentToken = nil
19+
1720
r, _ := glamour.NewTermRenderer(
1821
glamour.WithWordWrap(min(width, 120)),
1922
glamour.WithStyles(customDarkStyle),

0 commit comments

Comments
 (0)