Skip to content

Commit

Permalink
Update friendly.go
Browse files Browse the repository at this point in the history
Remove italic style for chroma.LiteralStringInterpol. 
Purpose: For python it make a mistake in code style
  • Loading branch information
sk-rama authored and alecthomas committed Jan 27, 2022
1 parent cc2dd5b commit 33fa611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styles/friendly.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var Friendly = Register(chroma.MustNewStyle("friendly", chroma.StyleEntries{
chroma.NameDecorator: "bold #555555",
chroma.LiteralString: "#4070a0",
chroma.LiteralStringDoc: "italic",
chroma.LiteralStringInterpol: "italic #70a0d0",
chroma.LiteralStringInterpol: "#70a0d0",
chroma.LiteralStringEscape: "bold #4070a0",
chroma.LiteralStringRegex: "#235388",
chroma.LiteralStringSymbol: "#517918",
Expand Down

0 comments on commit 33fa611

Please sign in to comment.