summaryrefslogtreecommitdiff
path: root/live/static/scripts/hljs_gdscript_class.js
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2024-03-07 21:55:16 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2024-03-07 21:55:16 -0600
commitbd86f4fc950cdc5bb4cb346f48c14a6e356dc4fb (patch)
treec1cebd6a0b48c38e2100d8e4fe9745fd7f585bd5 /live/static/scripts/hljs_gdscript_class.js
parentca9c5626495c00f6d6cffd4ae517a66db15b0832 (diff)
stop tracking live/main
Diffstat (limited to 'live/static/scripts/hljs_gdscript_class.js')
-rw-r--r--live/static/scripts/hljs_gdscript_class.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/live/static/scripts/hljs_gdscript_class.js b/live/static/scripts/hljs_gdscript_class.js
deleted file mode 100644
index 3feb099..0000000
--- a/live/static/scripts/hljs_gdscript_class.js
+++ /dev/null
@@ -1,7 +0,0 @@
-// this is a dirty solution as I wasn't able to add actual gdscript functionality as described
-// in the hljs documentation... I'm too dumb I guess
-// no longer required, i'm directly using what i found here: https://joshanthony.info/2021/07/01/how-to-add-gdscript-syntax-highlighting-to-your-blog/
-document.addEventListener("DOMContentLoaded", function(event) {
- let a = document.getElementsByClassName("language-gdscript");
- [...a].forEach(x => x.className = "hljs gdscript");
-}) \ No newline at end of file