Versions in this module Expand all Collapse all v0 v0.1.0 Aug 12, 2015 Changes in this version + const Data + const Header + func Render(input string) string + type AlignType int + const Center + const Left + const None + const Right + func (t AlignType) Align() AlignType + type BlockQuoteNode struct + Nodes []Node + func (n *BlockQuoteNode) Render() string + type BrNode struct + func (n *BrNode) Render() string + type CellNode struct + Kind int + Nodes []Node + func (c *CellNode) Render() string + func (c *CellNode) Style() string + type CodeNode struct + Lang string + Text string + func (n *CodeNode) Render() string + type DefLinkNode struct + Href string + Name string + Title string + func (n *DefLinkNode) Render() string + type EmphasisNode struct + Nodes []Node + Style itemType + func (n *EmphasisNode) Render() string + func (n *EmphasisNode) Tag() (s string) + type HTMLNode struct + Src string + func (n *HTMLNode) Render() string + type HeadingNode struct + Level int + Text string + func (n *HeadingNode) Render() string + type HrNode struct + func (n *HrNode) Render() string + type ImageNode struct + Alt string + Src string + Title string + func (n *ImageNode) Render() string + type Lexer interface + type LinkNode struct + Href string + Text string + Title string + func (n *LinkNode) Render() string + type ListItemNode struct + Nodes []Node + func (n *ListItemNode) Render() (s string) + type ListNode struct + Items []*ListItemNode + Ordered bool + func (n *ListNode) Render() (s string) + type Mark struct + Input string + func New(input string, opts *Options) *Mark + func (m *Mark) AddRenderFn(typ NodeType, fn RenderFn) + func (m *Mark) Render() string + type Node interface + Render func() string + Type func() NodeType + type NodeType int + const NodeBlockQuote + const NodeBr + const NodeCell + const NodeCode + const NodeDefLink + const NodeEmphasis + const NodeHTML + const NodeHeading + const NodeHr + const NodeImage + const NodeLink + const NodeList + const NodeListItem + const NodeParagraph + const NodeRefImage + const NodeRefLink + const NodeRow + const NodeTable + const NodeText + func (t NodeType) Type() NodeType + type Options struct + Fractions bool + Gfm bool + Smartypants bool + Tables bool + func DefaultOptions() *Options + type ParagraphNode struct + Nodes []Node + func (n *ParagraphNode) Render() (s string) + type Pos int + type RefNode struct + Raw string + Ref string + Text string + func (n *RefNode) Render() string + type RenderFn func(Node) string + type RowNode struct + Cells []*CellNode + func (r *RowNode) Render() string + type TableNode struct + Rows []*RowNode + func (n *TableNode) Render() string + type TextNode struct + Text string + func (n *TextNode) Render() string