latex

package module
v0.0.0-...-9e86db3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 7 Imported by: 0

README

goldmark-latex

Documentation

Index

Constants

View Source
const (
	RendererTypeHTML rendererType = iota
	RendererTypeMarkdown
)

Variables

View Source
var KindLatexBlock = ast.NewNodeKind("LatexBlock")
View Source
var KindLatexInline = ast.NewNodeKind("LatexInline")

Functions

This section is empty.

Types

type BlockRenderer

type BlockRenderer struct {
	RendererType rendererType
}

func (*BlockRenderer) RegisterFuncs

func (r *BlockRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)

type InlineRenderer

type InlineRenderer struct {
	RendererType rendererType
}

func (*InlineRenderer) RegisterFuncs

func (r *InlineRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)

type LatexBlock

type LatexBlock struct {
	ast.BaseBlock
}

func (*LatexBlock) Dump

func (n *LatexBlock) Dump(src []byte, level int)

func (*LatexBlock) Kind

func (n *LatexBlock) Kind() ast.NodeKind

type LatexInline

type LatexInline struct {
	ast.BaseInline
}

func (*LatexInline) Dump

func (n *LatexInline) Dump(src []byte, level int)

func (*LatexInline) Kind

func (n *LatexInline) Kind() ast.NodeKind

type Parser

type Parser struct{}

func (*Parser) Parse

func (p *Parser) Parse(parent ast.Node, block text.Reader, pc parser.Context) ast.Node

func (*Parser) Trigger

func (p *Parser) Trigger() []byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL