Giter VIP home page Giter VIP logo

highlightjs-gdscript's Introduction

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.

highlightjs-gdscript's People

Contributors

calinou avatar form-follows-function avatar yurisizov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

highlightjs-gdscript's Issues

Scene unique nodes.

image

extends Control

onready var uniq = $"%uniq"

var hi = true # this should not be blue

Contribute to the thought process for 3rd party language packaging if you'd like

Contribute to the thought process for 3rd party language packaging if you'd like

As a maintainer of a Highlight.js language grammar you might be interested in the discussion of an official packaging format. I just created an issue to track the discussion and I've been working on this along with the new build system.

highlightjs/highlight.js#2328

Sorry for the spam, but I couldn't think of an easier way to ping the people who might be most interested in weighing in on the subject. Feel free to simply close this issue or leave it open (whatever works best for you!).

Publish to NPM

Hi!

First of all: thank you for creating this project!

I am a maintainer of the upcoming GDScript track in Exercism. In order to get the highlighting working in our online editor, we need a highlightjs module available as an NPM package. AFAIK currently this repo is not published, so, as a workaround, I forked it and published a scoped version.

Are there any plans to make the original version available in NPM?

Cheers,
Paweł

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.