1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-07-11 01:00:15 +02:00
Files
chroma/formatters/api.go

13 lines
205 B
Go

package formatters
import (
"io"
"github.com/alecthomas/chroma"
)
// Formatter returns a formatting function for tokens.
type Formatter interface {
Format(w io.Writer) (func(*chroma.Token), error)
}