forked from forgejo/forgejo
add highlight js
This commit is contained in:
parent
e44852ff79
commit
70e0153b93
9 changed files with 174 additions and 88 deletions
|
@ -31,6 +31,10 @@
|
|||
<script src="{{AppSubUrl}}/js/gogs.js?v={{AppVer}}"></script>
|
||||
|
||||
<!-- Third-party libraries -->
|
||||
{{if .RequireHighlightJS}}
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/highlightjs/default.css?v={{AppVer}}">
|
||||
<script src="{{AppSubUrl}}/js/libs/highlight.pack.js?v={{AppVer}}"></script>
|
||||
{{end}}
|
||||
{{if .RequireMinicolors}}
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors.css?v={{AppVer}}">
|
||||
<script src="{{AppSubUrl}}/js/libs/jquery.minicolors.min.js?v={{AppVer}}"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue