template: Enable syntax highlighting using highlight.js
This commit is contained in:
parent
fbfe5510a1
commit
a71c3da129
@ -5,8 +5,10 @@
|
||||
<li style="font-size: 10pt">Powered by qswiki</li>
|
||||
</ul>
|
||||
</footer>
|
||||
<script src="{qswiki:config:highlightjspath}"></script>
|
||||
<script>
|
||||
{qswiki:include:js_session_refresh}
|
||||
hljs.highlightAll();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -3,6 +3,8 @@
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="{qswiki:config:csspath}">
|
||||
<link rel="stylesheet" href="{qswiki:config:highlightjsstyle}">
|
||||
|
||||
<title>{qswiki:var:title}</title>
|
||||
<body>
|
||||
<nav>
|
||||
|
Loading…
Reference in New Issue
Block a user