Documentation ¶
Index ¶
Constants ¶
View Source
const ( PSNone ParserState = iota PSMetadata = iota PSPreformatted = iota PSBlockquote = iota PSList = iota )
View Source
const ( NodeNil NodeType = iota NodePara = iota NodeH1 = iota NodeH2 = iota NodeH3 = iota NodeLink = iota NodeListStart = iota NodeListText = iota NodeListEnd = iota NodePreformattedStart = iota NodePreformattedAlt = iota NodePreformattedText = iota NodePreformattedEnd = iota NodeBlockquoteStart = iota NodeBlockquoteText = iota NodeBlockquoteEnd = iota )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metadatable ¶
type Parser ¶
type Parser struct { Metadata Metadatable // contains filtered or unexported fields }
func NewParser ¶
func NewParser(r io.ReadSeeker, md Metadatable) Parser
func NewParserFromString ¶
func NewParserFromString(s string, md Metadatable) Parser
func (*Parser) ParseMetadata ¶
func (gp *Parser) ParseMetadata()
type ParserState ¶
type ParserState uint16
Click to show internal directories.
Click to hide internal directories.