Documentation ¶
Index ¶
- Variables
- func GetMetaDataKey(line string) string
- func GetSingleLineMetaDataKeyAndValue(line string) (key string, value string)
- func IsDescription(line string) (bool, string)
- func IsEmpty(line string) bool
- func IsHeadline(line string) (isHeadline bool, headline string, level int)
- func IsHorizontalRule(line string) bool
- func IsListItem(line string) (bool, string)
- func IsMetaDataDefinition(line string) bool
- func IsMultiLineAliasDefinition(text string) (bool, []string)
- func IsMultiLineTagDefinition(text string) (bool, []string)
- func IsTitle(line string) (bool, string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Pattern which matches all HTML/XML tags HtmlTagPattern = regexp.MustCompile(`\<[^\>]*\>`) )
Functions ¶
func GetMetaDataKey ¶
func IsDescription ¶
func IsHorizontalRule ¶
func IsListItem ¶
func IsMetaDataDefinition ¶
func IsMultiLineAliasDefinition ¶ added in v0.10.0
IsMultiLineAliasDefinition returns the if the supplied text contains a multi-line alias definition.
func IsMultiLineTagDefinition ¶
IsMultiLineTagDefinition returns the if the supplied text contains a multi-line tag definition.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.