Skip to content

Highlights GDScript syntax displayed in HTML. This is a mod of highlightjs GDScript. https://github.com/highlightjs/highlightjs-gdscript

Notifications You must be signed in to change notification settings

dinpixels/GDScript_Syntax_Highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDSCript Syntax Highlight

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:


Usage

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/cdn-release@11.5.0/build/styles/default.min.css">
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.0/build/highlight.min.js"></script>

Then you can use the css and highlightjs script in this repo.


Preview

preview.png