Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mark = &mark{}
Mark is an extension that allow you to use mark expression like '~~text~~' .
View Source
var MarkAttributeFilter = html.GlobalAttributeFilter
MarkAttributeFilter defines attribute names which dd elements can have.
Functions ¶
func NewMarkHTMLRenderer ¶
func NewMarkHTMLRenderer(opts ...html.Option) renderer.NodeRenderer
NewMarkHTMLRenderer returns a new MarkHTMLRenderer.
func NewMarkParser ¶
func NewMarkParser() parser.InlineParser
NewMarkParser return a new InlineParser that parses mark expressions.
Types ¶
type MarkHTMLRenderer ¶
MarkHTMLRenderer is a renderer.NodeRenderer implementation that renders Mark nodes.
func (*MarkHTMLRenderer) RegisterFuncs ¶
func (r *MarkHTMLRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
RegisterFuncs implements renderer.NodeRenderer.RegisterFuncs.
Click to show internal directories.
Click to hide internal directories.