BookStack/resources/views/partials/highlight.blade.php
Dan Brown 43d9d2eba7 Updated all application urls to allow path prefix.
Allows BookStack to be installed at a non-root location on a domain.
Closes #40.
2016-08-14 12:29:35 +01:00

10 lines
No EOL
283 B
PHP

<script src="{{ baseUrl('/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>