Documentation ¶
Overview ¶
Package svg contains an SVG formatter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FontLiberationMono = `` /* 233248-byte string literal not displayed */
Liberation Mono as base64 encoded woff (SIL Open Font License)[https://en.wikipedia.org/wiki/Liberation_fonts]
Functions ¶
func StyleEntryToSVG ¶
func StyleEntryToSVG(e chroma.StyleEntry) string
StyleEntryToSVG converts a chroma.StyleEntry to SVG attributes.
Types ¶
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
Formatter that generates SVG.
Click to show internal directories.
Click to hide internal directories.