Syntax highlighting for ZenScript
ZenScript is a language used by CraftTweaker, which is a Minecraft mod, that is used to customize the game.
Unfortunately, HighlightJS is not currently accepting any new language, and they recommend publishing the language support to NPM, which I have done and it can be found here:
https://www.npmjs.com/package/highlightjs-zenscript
So from my understanding, all that would need doing is pulling the JavaScript in and registering the language.
I know ZenScript itself is rather niche, but I'm hoping that since most of the work is more or less done anyway and all that is required is pulling in a JavaScript file and initializing it, I hope this can be done
Thanks!
Update 04/07/2020:
I HAVE tried getting my language into HighlightJS itself, but the team behind that are not supporting any new languages unless, in their words "If the next Swift comes around and 50% of the world is writing code in it, I imagine we'd consider adding it to core and someone would make time to maintain it.".
You can view all of my correspondence with them here where I make a very big effort to work with them to allow adding new languages in general, but they are not open to anything. https://github.com/highlightjs/highlight.js/issues/2149#issuecomment-541278986
-
This would be really cool. I know several communities on Discord which share code blocks of ZenScript regularly and this would be really nice to have for them.
4 -
I agree this would be great, I have definitely shared code blocks in the past that I've optimistically started with ```zs :)
1 -
would love for this to be added. it would make debugging my friends code or having my friends debug mine much easier.
0
U moet u aanmelden om een opmerking te plaatsen.
Opmerkingen
3 opmerkingen