Documentation ¶
Index ¶
- func NewRawParagraphParser() parser.BlockParser
- func RawRenderParagraph(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RawRenderText(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderAutoLink(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderCodeSpan(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderEmphasis(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderHeading(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderImage(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderLink(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func RenderNoop(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- type RawRenderer
- type Renderer
- func (r *Renderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
- func (r *Renderer) RenderBlockquote(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func (r *Renderer) RenderCodeBlock(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func (r *Renderer) RenderFencedCodeBlock(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func (r *Renderer) RenderList(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func (r *Renderer) RenderListItem(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func (r *Renderer) RenderParagraph(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
- func (r *Renderer) RenderText(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRawParagraphParser ¶
func NewRawParagraphParser() parser.BlockParser
NewRawParagraphParser returns a new BlockParser that parses paragraphs without any white space trimming.
func RawRenderParagraph ¶
func RawRenderText ¶
func RenderAutoLink ¶
func RenderCodeSpan ¶
func RenderEmphasis ¶
func RenderHeading ¶
func RenderImage ¶
func RenderLink ¶
Types ¶
type RawRenderer ¶
type RawRenderer struct{}
func (*RawRenderer) RegisterFuncs ¶
func (r *RawRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
RegisterFuncs implements github.com/yuin/goldmark/renderer NodeRenderer.RegisterFuncs.
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func (*Renderer) RegisterFuncs ¶
func (r *Renderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
RegisterFuncs implements github.com/yuin/goldmark/renderer NodeRenderer.RegisterFuncs.
func (*Renderer) RenderBlockquote ¶
func (*Renderer) RenderCodeBlock ¶
func (*Renderer) RenderFencedCodeBlock ¶
func (*Renderer) RenderList ¶
func (*Renderer) RenderListItem ¶
func (*Renderer) RenderParagraph ¶
Click to show internal directories.
Click to hide internal directories.