Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

DinDeprecated/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

AltStyle によって変換されたページ (->オリジナル) /