- $a->page['htmlhead'] .= <<< HTML
-
-<link rel="stylesheet" href="{$basedir}/styles/{$style}.css">
-
-HTML;
-
- $b .= <<< HTML
-
-<script type="text/javascript" src="{$basedir}/highlight.pack.js"></script>
-<script type="text/javascript">
- hljs.initHighlightingOnLoad();
-
- document.addEventListener('postprocess_liveupdate', function () {
- var blocks = document.querySelectorAll('pre code:not(.hljs)');
- Array.prototype.forEach.call(blocks, hljs.highlightBlock);
- });
-</script>