BookStack/resources/views/partials/highlight.blade.php
2015-11-30 21:44:23 +00:00

10 lines
No EOL
266 B
PHP

<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>