package
0.4.12
Repository: https://github.com/altid/libs.git
Documentation: pkg.go.dev

# Functions

EscapeString returns a properly escaped Altid markup string.
NewCleaner returns a Cleaner.
NewColor returns a Color Returns error if color code is invalid.
NewLexer takes in a byte array and returns a ready to run Lexer.
NewNotifier returns a notifier ready for parsing.
NewStringLexer takes in a string and returns a ready to run Lexer.
NewURL returns a URL, or an error if encountered If `msg` is empty, the contents of `link` will be used If `link` is empty, an error will be returned There are no assumptions about what link points to But before a beta release there may be a schema imposed.

# Constants

Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
The various types of text tokens.
Available markup colour codes, feel free to PR your favourite.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
Available markup colour codes, feel free to PR your favourite.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
The various types of text tokens.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
The various types of text tokens.
Available markup colour codes, feel free to PR your favourite.
Available markup colour codes, feel free to PR your favourite.

# Structs

Cleaner represents a WriteCloser used to escape any altid markdown elements from a reader.
Color represents a color markdown element Valid values for code are any [markup constants], or color strings in hexadecimal form.
Image represents an image markdown element.
Item is returned from a call to Next() ItemType will be an ItemType.
Lexer allows tokenizing of altid-flavored markdown for client-side parsers.
Notifier is a type provided for use with fslib's Notification function.
URL represents a link markdown element.