Documentation
¶
Index ¶
- Constants
- func CopyWithRelativePathPrefix(w io.Writer, source []byte, relativePathPrefix string) (err error)
- func New() goldmark.Markdown
- func NewPlaintextRenderer() renderer.Renderer
- func ParseFrontmatter(source []byte, delimeter rune) (frontmatter map[string]any, err error)
- func SplitFrontmatterFromContent(source []byte) (frontmatter, content []byte, delimeter rune, err error)
- func SplitOnLastHorizontalRule(data []byte) (most, tail []byte, ok bool)
- type Link
Constants ¶
View Source
const ( FontmatterDelimeterYAML rune = '-' FrontmaterDelimeterTOML rune = '+' FrontmaterDelimeterCue rune = ':' )
Variables ¶
This section is empty.
Functions ¶
func CopyWithRelativePathPrefix ¶ added in v0.0.5
func NewPlaintextRenderer ¶ added in v0.0.5
NewPlaintextRenderer creates and returns a new PlaintextRenderer instance.
func ParseFrontmatter ¶ added in v0.0.5
func SplitFrontmatterFromContent ¶ added in v0.0.5
func SplitOnLastHorizontalRule ¶ added in v0.0.5
Types ¶
Click to show internal directories.
Click to hide internal directories.