Documentation ¶
Overview ¶
Package lexers contains the registry of all lexers.
Sub-packages contain lexer implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fallback = internal.Fallback
Fallback lexer if no other is found.
View Source
var Registry = internal.Registry
Registry of Lexers.
Functions ¶
func MatchMimeType ¶
MatchMimeType attempts to find a lexer for the given MIME type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.