Change summary
pkg/ui/common/style.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Detailed changes
@@ -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
}