Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParserNotSupported = errors.New("Unsupported parser")
ErrParserNotSupported an unknown parser type was given
Functions ¶
This section is empty.
Types ¶
type BasicParser ¶
type BasicParser struct {
// contains filtered or unexported fields
}
BasicParser Is the default parser for notes. The first sentence is used as the title. Everything after the first sentence is used as the note's body. Any word starting with `#` is parsed as a tag.
func (*BasicParser) Parse ¶
func (p *BasicParser) Parse(text string)
Parse parses the text for the note's title, tags, and body
Click to show internal directories.
Click to hide internal directories.