Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Img64 = &img64{}
Img64 is an implementation of goldmark.Extender
Functions ¶
func NewImg64 ¶
func NewImg64(opts ...Img64Option) goldmark.Extender
NewImg64 initializes Img64: goldmark's extension with its options. Using default Img64 with goldmark.WithRendereOptions(opts) give the same result.
func NewImg64Renderer ¶
func NewImg64Renderer(opts ...Img64Option) renderer.NodeRenderer
func WithParentPath ¶
func WithParentPath(path string) interface { renderer.Option Img64Option }
Types ¶
type Img64Config ¶
Img64Config embeds html.Config to refer to some fields like unsafe and xhtml.
func (*Img64Config) SetOption ¶
func (c *Img64Config) SetOption(name renderer.OptionName, value any)
SetOption implements renderer.NodeRenderer.SetOption
type Img64Option ¶
type Img64Option interface { renderer.Option SetImg64Option(*Img64Config) }
Click to show internal directories.
Click to hide internal directories.