mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 03:25:47 +08:00
10 lines
266 B
PHP
10 lines
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> |