mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-07-02 10:46:47 +08: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:
|
||||
|
Reference in New Issue
Block a user