Versions in this module Expand all Collapse all v0 v0.2.0 May 6, 2022 Changes in this version type Options + Range Range + Relative bool + func (o *Options) Apply(dc *gg.Context, ctx *Context) + type Range struct + End int + Start int + func (r *Range) Parse(lines string) error v0.1.0 May 4, 2022 Changes in this version + type Context struct + func NewContext() *Context + func (ctx *Context) EncodePNG(code string, writer io.Writer, options Options) error + func (ctx *Context) SavePNG(code string, output string, options Options) error + func (ctx *Context) SetFontFace(path string, points float64) error + func (ctx *Context) SetLanguage(lang tokenizer.Language) + func (ctx *Context) SetTheme(theme themer.Theme) + type Options struct + Header bool + LineNumbers bool