# Functions
DetectFrontMatter detects the type of frontmatter analysing its first character.
FormatSanitize returns the canonical format name for a given kind.
FormatToLeadRune takes a given format kind and return the leading front matter delimiter.
HandleJSONData unmarshals JSON-encoded datum and returns a Go interface representing the encoded data structure.
HandleJSONMetaData unmarshals JSON-encoded datum and returns a Go interface representing the encoded data structure.
HandleOrgMetaData unmarshals org-mode encoded datum and returns a Go interface representing the encoded data structure.
HandleTOMLMetaData unmarshals TOML-encoded datum and returns a Go interface representing the encoded data structure.
HandleYAMLData unmarshals YAML-encoded datum and returns a Go interface representing the encoded data structure.
HandleYAMLMetaData unmarshals YAML-encoded datum and returns a Go interface representing the encoded data structure.
InterfaceToConfig encodes a given input based upon the mark and writes to w.
InterfaceToFrontMatter encodes a given input into a frontmatter representation based upon the mark with the appropriate front matter delimiters surrounding the output, which is written to w.
ReadFrom reads the content from an io.Reader and constructs a page.
# Constants
BOM Unicode byte order marker.
HTMLCommentEnd identifies the end of HTML comment.
HTMLCommentStart identifies the start of HTML comment.
HTMLLead identifies the start of HTML documents.
JSONLead identifies the start of JSON frontmatter.
TOMLDelim identifies the TOML front matter delimiter.
TOMLDelimDOS identifies the end of TOML front matter on Windows.
TOMLDelimUnix identifies the end of TOML front matter on Unix.
TOMLLead identifies the start of TOML front matter.
YAMLDelim identifies the YAML front matter delimiter.
YAMLDelimDOS identifies the end of YAML front matter on Windows.
YAMLDelimUnix identifies the end of YAML front matter on Unix.
YAMLLead identifies the start of YAML frontmatter.
# Structs
FrontmatterType represents a type of frontmatter.
# Interfaces
Page represents a parsed content page.