Versions in this module Expand all Collapse all v2 v2.0.0 Jul 2, 2022 Changes in this version + type Option func(r *Renderer) + func ChromaOptions(options ...html.Option) Option + func ChromaStyle(s *chroma.Style) Option + func EmbedCSS() Option + func Extend(br bf.Renderer) Option + func Style(s string) Option + func WithoutAutodetect() Option + type Renderer struct + Autodetect bool + Base bf.Renderer + ChromaOptions []html.Option + Formatter *html.Formatter + Style *chroma.Style + func NewRenderer(options ...Option) *Renderer + func (r *Renderer) ChromaCSS(w io.Writer) error + func (r *Renderer) RenderFooter(w io.Writer, ast *bf.Node) + func (r *Renderer) RenderHeader(w io.Writer, ast *bf.Node) + func (r *Renderer) RenderNode(w io.Writer, node *bf.Node, entering bool) bf.WalkStatus + func (r *Renderer) RenderWithChroma(w io.Writer, text []byte, data bf.CodeBlockData) error Other modules containing this package github.com/Depado/bfchroma