Documentation ¶
Index ¶
- func ExtractOrgHeaders(r *bufio.Reader) (fm []byte, err error)
- func IsKeyword(data []byte) bool
- func NewParser(renderer blackfriday.Renderer) *parser
- func Org(input []byte, renderer blackfriday.Renderer) []byte
- func OrgCommon(input []byte) []byte
- func OrgHeaders(input []byte) (map[string]interface{}, error)
- func OrgOptions(input []byte, renderer blackfriday.Renderer) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractOrgHeaders ¶
ExtractOrgHeaders finds and returns all of the headers from a bufio.Reader and returns them as their own byte slice
func NewParser ¶
func NewParser(renderer blackfriday.Renderer) *parser
NewParser returns a new parser with the inlineCallbacks required for org content
func Org ¶
func Org(input []byte, renderer blackfriday.Renderer) []byte
Org is a convenience name for OrgOptions
func OrgCommon ¶
OrgCommon is the easiest way to parse a byte slice of org content and makes assumptions that the caller wants to use blackfriday's HTMLRenderer with XHTML
func OrgHeaders ¶
OrgHeaders find all of the headers from a byte slice and returns them as a map of string interface
func OrgOptions ¶
func OrgOptions(input []byte, renderer blackfriday.Renderer) []byte
OrgOptions takes an org content byte slice and a renderer to use
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.