Skip to content

Instantly share code, notes, and snippets.

@Calinou
Created August 7, 2021 13:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Calinou/61e2db6b5dad205db5e78cb9b63b242c to your computer and use it in GitHub Desktop.
Save Calinou/61e2db6b5dad205db5e78cb9b63b242c to your computer and use it in GitHub Desktop.
Backup of the syntax highlighting blocks on the Godot Q&A
<script defer src="/qa/highlightjs/highlight.min.js"></script>
<script defer src="/qa/highlightjs/highlight.gdscript.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
document.querySelectorAll('pre code').forEach((block) => {
hljs.highlightBlock(block);
});
});
</script>
<link rel="stylesheet" href="/qa/highlightjs/highlight.obsidian.min.css">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment