-
Notifications
You must be signed in to change notification settings - Fork 440
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 support for Jsonnet to Pygments #83
Comments
Also adding a "grammar" to https://github.com/github/linguist would give syntax highlighting in github file view. |
#23 tracks adding Jsonnet support to Linguist, and we sent a pull request github-linguist/linguist#2653, but at the time, there were not enough Jsonnet files in GitHub repositories. Perhaps we should revisit that PR in the near future. |
github-linguist/linguist#4455 has been merged nearly a year ago, I guess we can close this! |
@sh0rez Github support is there, but AFAICT we don't have support in Pygments (see: https://pygments.org/languages/). |
Oh right, this was about Pygments as well. Ignore me 🤪 |
Jsonnet is supported by Rouge (demo: http://rouge.jneen.net/v3.19.0/jsonnet/) and there are IDE-specific implementations for VSCode, Jetbrains and Atom. But no Pygments :( Personally, I'd like to have this for Mkdocs. |
This was completed in pygments/pygments#2239 The change was released in Pygments version 2.14: https://pygments.org/docs/changelog/#version-2-14-0 |
It would be nice to add Jsonnet highlighting to Pygments so that we can have syntax highlighting for Jsonnet code in Markdown fenced code blocks in static site generators such as Jekyll, which is also used for GitHub pages:
The text was updated successfully, but these errors were encountered: