index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
internal
/
template
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
johannes69ki <jh@maschinensehen.de>
2019-11-07 19:43:01 +0100
committer
Unknwon <u@gogs.io>
2019-11-07 10:43:01 -0800
commit
7d9f408d3acc2fce65021d6e6a78df3b44e7b73d
(
patch
)
tree
841afb63410c263cbc276f52999ff6c16b229d5e
/
internal/template
parent
260c4e850301abc07ed5c703b66ab974c52b524c
(
diff
)
public: update highlights.js to 9.16.2 (#5856)
* updated the highlight.js plugin * added some explicit mappings for syntax highlighting
Diffstat
(limited to 'internal/template')
-rw-r--r--
internal/template/highlight/highlight.go
4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/template/highlight/highlight.go b/internal/template/highlight/highlight.go
index 38a7df55..bf87ec32 100644
--- a/
internal/template/highlight/highlight.go
+++ b/
internal/template/highlight/highlight.go
@@ -59,6 +59,10 @@ var (
".swift": true,
".ts": true,
".vb": true,
+ ".r": true,
+ ".sas": true,
+ ".tex": true,
+ ".yaml": true,
}
// Extensions that are not same as highlight classes.