//
pkg.gl
Category
github.com/d4l3k/go-highlight
registry
package
0.0.0-20170131091508-34974ebcad41
Repository:
https://github.com/d4l3k/go-highlight.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
2
Files
290 SLOC
#
Functions
Languages
Languages returns an slice of all the language names.
Lookup
Lookup finds and returns the parsed Language that has been saved in the registry.
Register
Register registers a specific language with the highlighter.
#
Variables
ErrLanguageNotFound
ErrLanguageNotFound is returned when a requested language is not present in the registry.
#
Structs
Contains
Contains represents a subsection that can match different parts of the code.
Keywords
Keywords represents a set of keywords that should be matched and highlighted.