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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue