1
0
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:
Alec Thomas
2017-06-02 11:42:52 +10:00
parent b2fb8edf77
commit 6dd81b044b
6 changed files with 103 additions and 15 deletions
+1
View File
@@ -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},