43d9d2eba7
Allows BookStack to be installed at a non-root location on a domain. Closes #40.
10 lines
No EOL
283 B
PHP
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> |