diff --git a/pkg/ui/common/style.go b/pkg/ui/common/style.go index 227efa242598b1b120b3d5c638837335881872eb..412ec2ee6d8e53b4bfeb3aaff9cf079268f4b725 100644 --- a/pkg/ui/common/style.go +++ b/pkg/ui/common/style.go @@ -15,7 +15,7 @@ func strptr(s string) *string { // StyleConfig returns the default Glamour style configuration. func StyleConfig() gansi.StyleConfig { - // noColor := strptr("") + noColor := strptr("") s := styles.DarkStyleConfig // s.H1.BackgroundColor = noColor // s.H1.Prefix = "# " @@ -24,9 +24,9 @@ func StyleConfig() gansi.StyleConfig { // s.Document.StylePrimitive.Color = noColor // s.CodeBlock.Chroma.Text.Color = noColor // s.CodeBlock.Chroma.Name.Color = noColor - // // This fixes an issue with the default style config. For example - // // highlighting empty spaces with red in Dockerfile type. - // s.CodeBlock.Chroma.Error.BackgroundColor = noColor + // This fixes an issue with the default style config. For example + // highlighting empty spaces with red in Dockerfile type. + s.CodeBlock.Chroma.Error.BackgroundColor = noColor return s }