Sfoglia il codice sorgente

No highlighting for .txt files (#1922)

tags/v1.2.0-rc1
Ethan Koenig 7 anni fa
parent
commit
6d613fb28e
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      modules/highlight/highlight.go

+ 3
- 1
modules/highlight/highlight.go Vedi 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

Loading…
Annulla
Salva