MCPcopy
hub / github.com/owenthereal/ccat / HtmlCodePrinter

Struct HtmlCodePrinter

printer.go:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168type HtmlCodePrinter struct {
169 ColorPalettes ColorPalettes
170}
171
172func (p HtmlCodePrinter) Print(w io.Writer, kind syntaxhighlight.Kind, tokText string) error {
173 c := p.ColorPalettes.Get(kind)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected