2
0

No highlighting for .txt files (#1922)

This commit is contained in:
Ethan Koenig
2017-06-09 20:39:16 -04:00
committed by Bo-Yi Wu
parent bf782f73c4
commit 0234e29063

View File

@@ -63,7 +63,9 @@ var (
}
// Extensions that are not same as highlight classes.
highlightMapping = map[string]string{}
highlightMapping = map[string]string{
".txt": "nohighlight",
}
)
// NewContext loads highlight map