summaryrefslogtreecommitdiff
path: root/plt/highlightjs.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-16 17:45:03 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-16 17:45:03 -0600
commit7e49db5ddefe8c515b5f3931a5c701efaac33d91 (patch)
treed7d1efda44837a466fe079266efda90021812399 /plt/highlightjs.html
parent3112a76dac594fe715b59e53c399b0dec5b53193 (diff)
change structure for new pyssg version
Diffstat (limited to 'plt/highlightjs.html')
-rw-r--r--plt/highlightjs.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/plt/highlightjs.html b/plt/highlightjs.html
new file mode 100644
index 0000000..0a1ded3
--- /dev/null
+++ b/plt/highlightjs.html
@@ -0,0 +1,9 @@
+{%macro print()%}
+<!-- highlight support for code blocks -->
+<script type="text/javascript" src="hl/highlight.min.js"></script>
+{%block gdscript_hl%}{%endblock gdscript_hl%}
+<script type="text/javascript">
+ hljs.initHighlightingOnLoad();
+</script>
+<link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/nord.min.css">
+{%endmacro%} \ No newline at end of file