Versions in this module Expand all Collapse all v0 v0.11.0 Nov 16, 2018 Changes in this version + type JSONParser struct + func (j *JSONParser) Init(b *bytes.Buffer) bool + func (j *JSONParser) Markdown() []byte + func (j *JSONParser) Metadata() Metadata + func (j *JSONParser) Type() string + type Metadata struct + Date time.Time + Template string + Title string + Variables map[string]interface{} + func NewMetadata(parsedMap map[string]interface{}) Metadata + type NoneParser struct + func (n *NoneParser) Init(b *bytes.Buffer) bool + func (n *NoneParser) Markdown() []byte + func (n *NoneParser) Metadata() Metadata + func (n *NoneParser) Parse(b []byte) ([]byte, error) + func (n *NoneParser) Type() string + type Parser interface + Init func(b *bytes.Buffer) bool + Markdown func() []byte + Metadata func() Metadata + Type func() string + func GetParser(buf []byte) Parser + type TOMLParser struct + func (t *TOMLParser) Init(b *bytes.Buffer) bool + func (t *TOMLParser) Markdown() []byte + func (t *TOMLParser) Metadata() Metadata + func (t *TOMLParser) Type() string + type YAMLParser struct + func (y *YAMLParser) Init(b *bytes.Buffer) bool + func (y *YAMLParser) Markdown() []byte + func (y *YAMLParser) Metadata() Metadata + func (y *YAMLParser) Type() string