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 Jsonnet Lexer #1011

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Add Jsonnet Lexer #1011

merged 1 commit into from
Oct 15, 2024

Conversation

jolheiser
Copy link
Contributor

@jolheiser jolheiser commented Oct 15, 2024

No open issue, but I wanted this for myself so I figured I'd open a PR as well. 🙂

I've used the third example from the jsonnet site as the test: https://jsonnet.org/

Converted uses the pygments converter, and here's a quick screenshot of the playground:

Screenshot 2024-10-15 115533

It seems to have a small problem with strings as keys, but otherwise looks close.

Signed-off-by: jolheiser <[email protected]>
@alecthomas alecthomas merged commit 2e669a2 into alecthomas:master Oct 15, 2024
2 checks passed
@jolheiser jolheiser deleted the jsonnet branch October 16, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants