Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarkupEntry ¶
type MarkupParser ¶
type MarkupParser struct {
HandleErrors bool // flag if we stop on errors
Entries []MarkupEntry // contains all found markups
LeftString string // at least the part of the string, until the first markup
}
type MarkupRunner ¶
type Runner ¶
func (*Runner) AddRunner ¶
func (r *Runner) AddRunner(responsible string, runner MarkupRunner) error
AddRunner applies the logic to an markup
func (*Runner) DisableParsing ¶
func (*Runner) EnableParsing ¶
func (*Runner) IsDisabled ¶
func (*Runner) ParseMarkup ¶
func (r *Runner) ParseMarkup(orig string) MarkupParser
ParseMarkup is parsing the origin string. what means it extracts all markups in the the string and then create an assignemnt what markup is responsible for which part ot the text
Click to show internal directories.
Click to hide internal directories.