package goorgeous
import "github.com/chaseadamsio/goorgeous"
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
Functions ¶
func ExtractOrgHeaders ¶
ExtractOrgHeaders finds and returns all of the headers from a bufio.Reader and returns them as their own byte slice
func IsKeyword ¶
Elements ~~ Keywords
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
Source Files ¶
- Version
- v2.0.0+incompatible (latest)
- Published
- Oct 16, 2017
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- now –
Tools for package owners.