exercism / ballerina

Exercism exercises in Ballerina.
https://exercism.org/tracks/ballerina
MIT License
7 stars 36 forks source link

Add highlightjs support #105

Closed ErikSchierboom closed 10 months ago

ErikSchierboom commented 3 years ago

Exercism uses highlightjs for syntax highlighting. Unfortunately, there is no support for this track at the moment (see the supported languages).

To properly support syntax highlighting for this track, an official grammar should be created at https://github.com/highlightjs/highlight.js/tree/main/src/languages. Note that this grammar could be relatively minimal at first and can be expanded upon at a later time.

@joshgoebel has initimate knowledge of the code base and has graciously offered to be available for any questions.

See https://github.com/exercism/v3-launch/issues/36

joshgoebel commented 3 years ago

If I can help, let me know. Looks like it should be an easy enough language to highlight.

ErikSchierboom commented 3 years ago

That would be great. I'm fairly sure this track is unmaintained.

ErikSchierboom commented 1 year ago

@joshgoebel Are you still interested in looking into this? We'll have Ballerina in "Mind Shifting May" next month, as syntax highlighting would be great!

joshgoebel commented 1 year ago

I don't have time build it out myself but if someone else was interested and just needs a little help or a few pointers I'd be happy to help.

BNAndras commented 11 months ago

I was poking around the highlightjs repo since I'm about to start working on a Pyret grammar and noticed Ballerina support was added last month in https://github.com/highlightjs/highlight.js/pull/3852. Does this mean we can include syntax highlighting for the Ballerina track?

joshgoebel commented 10 months ago

@ErikSchierboom There you go, someone else went and built it for ya. :-)

https://github.com/highlightjs/highlightjs-ballerina

ErikSchierboom commented 10 months ago

That's nice of them! :D

ErikSchierboom commented 10 months ago

It's working: image