mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 00:52:55 +08:00
43d9d2eba7
Allows BookStack to be installed at a non-root location on a domain. Closes #40.
10 lines
283 B
PHP
10 lines
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> |