highlightjs-gdscript
highlightjs-gdscript copied to clipboard
highlight.js syntax definitions for Godot's GDscript language
GDScript syntax for highlight.js
Syntax implementation of Godot's GDScript language for highlight.js.
Authors
The original code was written by Khairul Hidayat. The repository was eventually maintained by
Documentation
- https://highlightjs.org/
- https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_basics.html
Building
To build a distribution version of this module you need to use tools provided by Highlight.js.
- Checkout highlightjs/highlight.js from GitHub.
- Create the
extrafolder in the root directory, if missing. - In the
extradirectory create agdscriptsubdirectory and put the contents of this repository there. - Run build tools for the
cdntarget and you should see thegdscriptlanguage module being build alongside Highlight.js itself:
node ./tools/build.js -t cdn
...
Building extra\gdscript\dist/gdscript.min.js.