Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GDScript as language #26

Open
pwab opened this issue Sep 15, 2021 · 0 comments
Open

Add GDScript as language #26

pwab opened this issue Sep 15, 2021 · 0 comments

Comments

@pwab
Copy link

pwab commented Sep 15, 2021

I wanted to add Godots GDScript to the supported languages. For testing purposes I just copied the python implementation and replaced some keywords and it seems to work fine enough.

As the language files have stated // GENERATED CODE - DO NOT MODIFY BY HAND at the top I came to thinking that those language files are generated somehow. As I couldn't find documenation in how to generate another language I stopped work there.

Are those files somehow generated by converting the available languages from highlight.js? If so there is the 3rd party package highlightjs-gdscript which could be used.

If this is not the way to go then how to add languages to highlight.dart?

@pwab pwab changed the title Add gdscript as language Add GDScript as language Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant