mirror of
https://github.com/alecthomas/chroma.git
synced 2026-05-22 10:15:46 +02:00
Add Markdown processor. A bunch of performance improvements.
This commit is contained in:
@@ -12,6 +12,7 @@ var Go = Register(NewLexer(
|
||||
Aliases: []string{"go", "golang"},
|
||||
MimeTypes: []string{"text/x-gosrc"},
|
||||
},
|
||||
// TODO: Convert this Lexer to use text/scanner
|
||||
Rules{
|
||||
`root`: []Rule{
|
||||
{`\n`, Text, nil},
|
||||
|
||||
Reference in New Issue
Block a user