X Tutup
Skip to content

Commit ac7d5ec

Browse files
committed
Ensure markdown still passed through Glamour in no-color mode
1 parent 04b18ea commit ac7d5ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

utils/utils.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ func OpenInBrowser(url string) error {
2323

2424
func RenderMarkdown(text string) (string, error) {
2525
style := "notty"
26-
if !isColorEnabled() {
27-
return text, nil
28-
}
29-
3026
if isColorEnabled() {
3127
style = "dark"
3228
}

0 commit comments

Comments
 (0)
X Tutup