mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
add highlight js
This commit is contained in:
@@ -408,6 +408,9 @@ $(document).ready(function () {
|
||||
$($(this).data('target')).slideToggle(100);
|
||||
});
|
||||
|
||||
// Highlight JS
|
||||
hljs.initHighlightingOnLoad();
|
||||
|
||||
// Dropzone
|
||||
if ($('#dropzone').length > 0) {
|
||||
// Disable auto discover for all elements:
|
||||
|
1
public/js/libs/highlight.pack.js
Normal file
1
public/js/libs/highlight.pack.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user