Files
remark42/backend/vendor/github.com/alecthomas/chroma/styles/abap.go
T
1e548eb85f Code colors (backend support) (#590)
* testing code highlight with bfchroma render

* add bfchroma vendoring

* render code htm with classes

* adjust bfchroma test cases inside formatter

* go mod tidy

* fix markdown code render tests

* adjust comment text sanitizer to permit code HTML classes

* go mod tidy

* add chroma classes list regexp

* unify gitignore entries style

Co-authored-by: Umputun <umputun@gmail.com>
2020-02-08 21:11:12 -06:00

19 lines
450 B
Go

package styles
import (
"github.com/alecthomas/chroma"
)
// Abap style.
var Abap = Register(chroma.MustNewStyle("abap", chroma.StyleEntries{
chroma.Comment: "italic #888",
chroma.CommentSpecial: "#888",
chroma.Keyword: "#00f",
chroma.OperatorWord: "#00f",
chroma.Name: "#000",
chroma.LiteralNumber: "#3af",
chroma.LiteralString: "#5a2",
chroma.Error: "#F00",
chroma.Background: " bg:#ffffff",
}))