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 highlightjs support #127

Closed
ErikSchierboom opened this issue May 18, 2021 · 1 comment
Closed

Add highlightjs support #127

ErikSchierboom opened this issue May 18, 2021 · 1 comment
Labels
x:action/create Work on something from scratch x:knowledge/none No existing Exercism knowledge required x:size/large Large amount of work x:type/coding Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)

Comments

@ErikSchierboom
Copy link
Member

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 exercism/v3-launch#36

@bdw429s
Copy link
Contributor

bdw429s commented May 18, 2021

For any examples using script syntax, a JS highlighter is usually pretty close. XML or HTML will usually get close for the tag syntax, but I don't think CF tags are used for any of the problems here.

@ErikSchierboom ErikSchierboom added x:action/create Work on something from scratch x:knowledge/none No existing Exercism knowledge required x:size/large Large amount of work x:type/coding Write code that is not student-facing content (e.g. test-runners, generators, but not exercises) labels Aug 18, 2021
@BNAndras BNAndras closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/create Work on something from scratch x:knowledge/none No existing Exercism knowledge required x:size/large Large amount of work x:type/coding Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
Projects
None yet
Development

No branches or pull requests

3 participants