1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-21 21:17:50 +02:00

Allow .mkd and .markdown (#73)

Yeah I know, but they are out there ;)
This commit is contained in:
Trevor Joynson 2017-10-22 16:49:04 -07:00 committed by Alec Thomas
parent 8533b6348b
commit d6eb27d4b5

View File

@ -8,8 +8,8 @@ import (
var Markdown = Register(MustNewLexer(
&Config{
Name: "markdown",
Aliases: []string{"md"},
Filenames: []string{"*.md"},
Aliases: []string{"md", "mkd"},
Filenames: []string{"*.md", "*.mkd", "*.markdown"},
MimeTypes: []string{"text/x-markdown"},
},
Rules{