aboutsummaryrefslogtreecommitdiff
path: root/internal/template
diff options
context:
space:
mode:
authorjohannes69ki <jh@maschinensehen.de>2019-11-07 19:43:01 +0100
committerUnknwon <u@gogs.io>2019-11-07 10:43:01 -0800
commit7d9f408d3acc2fce65021d6e6a78df3b44e7b73d (patch)
tree841afb63410c263cbc276f52999ff6c16b229d5e /internal/template
parent260c4e850301abc07ed5c703b66ab974c52b524c (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')
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.