This is a mod of GDScript highlight.js by Khairul Hidayat, Nelson Sylvest*r Fritsch, and Calinou.
This version supports syntax highlighting with these formats:
var greetings : String = "Hello World"
func _ready() -> void:
Used to highlight GDScript syntax on HTML.
To use it, include these first in the head tags:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/default.min.css">
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
Then you can use the css and highlightjs script in this repo.