Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PrefixToRemove []string = nil SuffixToRemove []string = nil )
View Source
var MentionBuilder = defaultMentionBuilderFn
View Source
var TagBuilder = defaultTagBuilderFn
Functions ¶
func FindAndReplace ¶
FindAndReplace finds all mention and tags strings in content and replaces them with HTML links
func FromContent ¶
func FromContent(content vocab.Content) vocab.ItemCollection
FromContent parses content as a slice of bytes to find strings starting with the "#" and "@" markers and build them into an item collection
func TagNormalize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.