-
Notifications
You must be signed in to change notification settings - Fork 11
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 syntax highlighting to examples #3
Comments
That sounds great, let's add it in! (I'll admit I didn't realize Chapel syntax highlighting was supported yet) |
Invoking pygment directly should work, but it's not how syntax highlighting is handled in the rest of the Carpentries. The more consistent approach would be to modify |
Here is the list of highlighting tools supported by Chapel today: https://github.com/chapel-lang/chapel/tree/master/highlight Maybe one of the formats could be easily ported to the format HPC Carpentry uses. |
Additionally, there are a few highlighting formats that are managed outside of the repository, which are listed in this issue about improving maintenance of syntax highlighting tools for Chapel: |
Chapel syntax highlighting should work in Jekyll using pygments, as described here.
We should be able to enable syntax highlighting with:
The text was updated successfully, but these errors were encountered: