This PR replaces the highlight.js with GDScript only.
It misses some certain built-in types, they may get supplied later.
The three CSS files handling the light theme and dark themes are slightly adjusted.
On top, the ayu Theme will attempt to be close to Godot's own syntax highlighting. Right now, it's approximately what the official Godot documentation uses, not the built-in editor.
The highlight.js mostly copies the one in the mdBook repository, minus the support of the other languages.
Since it contains the hljs function, the file is licensed under BSD-3-Clause.
This mirrors mdBook's approach.
I added an extra category for Dialogic special words (keywords) as well, such as the Autoload: Dialogic
This PR replaces the
highlight.js
with GDScript only. It misses some certain built-in types, they may get supplied later.The three CSS files handling the light theme and dark themes are slightly adjusted. On top, the
ayu
Theme will attempt to be close to Godot's own syntax highlighting. Right now, it's approximately what the official Godot documentation uses, not the built-in editor.The
highlight.js
mostly copies the one in themdBook
repository, minus the support of the other languages. Since it contains thehljs
function, the file is licensed under BSD-3-Clause. This mirrorsmdBook
's approach.I added an extra category for Dialogic special words (keywords) as well, such as the Autoload:
Dialogic