1 Star 0 Fork 0

pidan/chroma

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bw.go 1008 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alec Thomas 提交于 2017-09-26 22:05 . Run gofmt -s over the codebase.
package styles
import (
"github.com/alecthomas/chroma"
)
// BlackWhite style.
var BlackWhite = Register(chroma.MustNewStyle("bw", chroma.StyleEntries{
chroma.Comment: "italic",
chroma.CommentPreproc: "noitalic",
chroma.Keyword: "bold",
chroma.KeywordPseudo: "nobold",
chroma.KeywordType: "nobold",
chroma.OperatorWord: "bold",
chroma.NameClass: "bold",
chroma.NameNamespace: "bold",
chroma.NameException: "bold",
chroma.NameEntity: "bold",
chroma.NameTag: "bold",
chroma.LiteralString: "italic",
chroma.LiteralStringInterpol: "bold",
chroma.LiteralStringEscape: "bold",
chroma.GenericHeading: "bold",
chroma.GenericSubheading: "bold",
chroma.GenericEmph: "italic",
chroma.GenericStrong: "bold",
chroma.GenericPrompt: "bold",
chroma.Error: "border:#FF0000",
chroma.Background: " bg:#ffffff",
}))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/pidanpidan/chroma.git
git@gitee.com:pidanpidan/chroma.git
pidanpidan
chroma
chroma
v0.6.0

搜索帮助