BookStack/resources/views/partials/highlight.blade.php

10 lines
266 B
PHP
Raw Normal View History

<script src="/libs/highlightjs/highlight.min.js"></script>
<script>
$(function() {
var aCodes = document.getElementsByTagName('pre');
for (var i=0; i < aCodes.length; i++) {
hljs.highlightBlock(aCodes[i]);
}
});
</script>