瀏覽代碼

No highlighting for .txt files (#1922)

tags/v1.2.0-rc1
Ethan Koenig 7 年之前
父節點
當前提交
6d613fb28e
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      modules/highlight/highlight.go

+ 3
- 1
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…
取消
儲存