使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
mirrors
/
gitea
镜像自地址
https://github.com/go-gitea/gitea.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
210
百科
动态
浏览代码
No highlighting for .txt files (
#1922
)
tags/v1.2.0-rc1
Ethan Koenig
7 年前
父节点
4a3f40460b
当前提交
6d613fb28e
共有
1 个文件被更改
,包括
3 次插入
和
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
撰写
预览
正在加载...
取消
保存