No highlighting for .txt files (#1922)

pull/1929/head
Ethan Koenig 7 years ago committed by Bo-Yi Wu
parent 4a3f40460b
commit 6d613fb28e
  1. 4
      modules/highlight/highlight.go

@ -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

Loading…
Cancel
Save