Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Formatters = map[string]Formatter{
"_default": defaultFormatter{},
"_text": textFormatter{},
"a": aFormatter{},
"br": brFormatter{},
"p": pFormatter{},
"li": liFormatter{},
}
Formatters is the global formatter list.
Functions ¶
func FromString ¶
func IsPreformatted ¶
IsPreformatted returns true when a node belongs to a preformatted element (<pre>)
Types ¶
Click to show internal directories.
Click to hide internal directories.