Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PrefixToRemove []string = nil SuffixToRemove []string = nil )
View Source
var IsValidTag = func(t vocab.Item) bool { return true }
View Source
var ItemIsLocal = func(vocab.Item) bool { return true }
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.