Versions in this module Expand all Collapse all v0 v0.15.1 Oct 25, 2016 Changes in this version + const BOM + const HTMLCommentEnd + const HTMLCommentStart + const HTMLLead + const JSONLead + const TOMLDelim + const TOMLDelimDOS + const TOMLDelimUnix + const TOMLLead + const YAMLDelim + const YAMLDelimDOS + const YAMLDelimUnix + const YAMLLead + func DetectFrontMatter(mark rune) (f *frontmatterType) + func FormatSanitize(kind string) string + func FormatToLeadRune(kind string) rune + func HandleJSONMetaData(datum []byte) (interface{}, error) + func HandleTOMLMetaData(datum []byte) (interface{}, error) + func HandleYAMLMetaData(datum []byte) (interface{}, error) + func InterfaceToConfig(in interface{}, mark rune) ([]byte, error) + func InterfaceToFrontMatter(in interface{}, mark rune) ([]byte, error) + type Page interface + Content func() []byte + FrontMatter func() []byte + IsRenderable func() bool + Metadata func() (interface{}, error) + func ReadFrom(r io.Reader) (p Page, err error)