This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
No highlighting for .txt files (
#1922
)
master
Ethan Koenig
Bo-Yi Wu
8 years ago
parent
4a3f40460b
commit
6d613fb28e
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
modules/highlight/highlight.go
+ 3
- 1
modules/highlight/highlight.go
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
Write
Preview
Loading…
Cancel
Save