md

package
v0.0.0-...-f7e15b2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: BSD-2-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

Renderer renders to markdown. Allows to convert to a canonnical form

func NewRenderer

func NewRenderer() *Renderer

NewRenderer returns a Markdown renderer.

func (*Renderer) RenderFooter

func (r *Renderer) RenderFooter(w io.Writer, ast ast.Node)

RenderFooter renders footer

func (*Renderer) RenderHeader

func (r *Renderer) RenderHeader(w io.Writer, ast ast.Node)

RenderHeader renders header

func (*Renderer) RenderNode

func (r *Renderer) RenderNode(w io.Writer, node ast.Node, entering bool) ast.WalkStatus

RenderNode renders markdown node

Jump to

Keyboard shortcuts

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