/highlightjs-gdscript

highlight.js syntax definitions for Godot's GDscript language

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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

Building

To build a distribution version of this module you need to use tools provided by Highlight.js.

  1. Checkout highlightjs/highlight.js from GitHub.
  2. Create the extra folder in the root directory, if missing.
  3. In the extra directory create a gdscript subdirectory and put the contents of this repository there.
  4. Run build tools for the cdn target and you should see the gdscript language module being build alongside Highlight.js itself:
node ./tools/build.js -t cdn

...
Building extra\gdscript\dist/gdscript.min.js.