Versions in this module Expand all Collapse all v0 v0.1.12 Nov 5, 2024 v0.1.11 Nov 3, 2024 Changes in this version + func Encode(data *[]byte, chars []rune) error + func Highlight(h Highlighter, lexer sllx.Lexer, data []byte) ([]byte, error) + type Builder struct + func (b *Builder) Register(type_ string, style *colors.Style) error + func (b *Builder) Reset() + func (b Builder) Build() Highlighter + type Highlighter struct + func (h Highlighter) Highlight(w io.Writer, data []rune, tokens []*slgr.Token) error