Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLaTeXTypographer ¶
func NewNodeRenderer ¶
func NewNodeRenderer(opts ...Option) renderer.NodeRenderer
func NewRenderer ¶
Types ¶
type Config ¶
type Config struct { RenderTreeMode bool Slug string ActiveFence string AssetsDir string InfoMap map[string]*info.Info }
Config contains parameters for controlling LaTeX output of a Renderer.
func (Config) SetLatexOption ¶
SetLatexOption implements the Option interface.
type Renderer ¶
type Renderer struct {
Config Config
}
Renderer is a LaTeX renderer implementation for extending goldmark to generate .tex files.
func (*Renderer) RegisterFuncs ¶
func (r *Renderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
RegisterFuncs implements goldmark's renderer.NodeRenderer interface.
Click to show internal directories.
Click to hide internal directories.