Versions in this module Expand all Collapse all v0 v0.63.3 Jan 28, 2020 Changes in this version + var DefaultConfig = Config + func ApplyLegacyConfig(cfg config.Provider, conf *Config) error + func GetCodeBlockOptions() func(ctx hl.CodeBlockContext) []html.Option + func WriteCodeTag(w io.Writer, language string) + type Config struct + CodeFences bool + GuessSyntax bool + Hl_Lines string + LineNoStart int + LineNos bool + LineNumbersInTable bool + NoClasses bool + Style string + TabWidth int + func (cfg Config) ToHTMLOptions() []html.Option + type Highlighter struct + func New(cfg Config) Highlighter + func (h Highlighter) Highlight(code, lang, optsStr string) (string, error)