Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct { }
Console implements blackfriday.Render
func (Console) RenderFooter ¶
func (c Console) RenderFooter(w io.Writer, ast *blackfriday.Node)
RenderFooter is a symmetric counterpart of RenderHeader.
func (Console) RenderHeader ¶
func (c Console) RenderHeader(w io.Writer, ast *blackfriday.Node)
RenderHeader method will be passed an entire document tree, in case a particular implementation needs to inspect it to produce output.
The output should be written to the supplied writer w. If your
func (Console) RenderNode ¶
func (c Console) RenderNode(w io.Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus
RenderNode is the main rendering method. It will be called once for every leaf node and twice for every non-leaf node (first with entering=true, then with entering=false). The method should write its rendition of the node to the supplied writer w.
Click to show internal directories.
Click to hide internal directories.