Documentation ¶
Overview ¶
Package renderer renders the given AST to certain formats.
Index ¶
Constants ¶
View Source
const WalkJump goldast.WalkStatus = 100
WalkJump indicates that the walker should jump to the next node.
Variables ¶
This section is empty.
Functions ¶
func TestJumpRenderBlock ¶
func TestJumpRenderHeading ¶
func TestNormalRender ¶
func TestRenderContext ¶
Types ¶
type GlamourFlushNode ¶
func (*GlamourFlushNode) Kind ¶
func (n *GlamourFlushNode) Kind() goldast.NodeKind
type GlamourNodeRenderer ¶
func NewGlamourNodeRenderer ¶
func NewGlamourNodeRenderer(context *renderer.Context) *GlamourNodeRenderer
func (*GlamourNodeRenderer) RegisterFuncs ¶
func (r *GlamourNodeRenderer) RegisterFuncs(reg goldrenderer.NodeRendererFuncRegisterer)
type GlamourRenderer ¶
type GlamourRenderer struct { Section string Context *renderer.Context // contains filtered or unexported fields }
func NewGlamourRenderer ¶
func NewGlamourRenderer(actualRenderer goldrenderer.Renderer, context *renderer.Context) *GlamourRenderer
NewRenderer returns a new Renderer with given options.
func (*GlamourRenderer) AddOptions ¶
func (r *GlamourRenderer) AddOptions(opts ...goldrenderer.Option)
Click to show internal directories.
Click to hide internal directories.