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

Highlight syntax with tree-sitter? #472

Open
aspiwack opened this issue May 23, 2023 · 0 comments
Open

Highlight syntax with tree-sitter? #472

aspiwack opened this issue May 23, 2023 · 0 comments

Comments

@aspiwack
Copy link
Member

Nowadays, Gatsby's syntax-highlighter plugin has a Tree-sitter plugin (yes, it's a plugin plugin, or at least I choose to believe so).

Considering that Nickel has a Tree-sitter grammar, that, anyway, Nickel is really hard to classify adequately with regexps, and that we have pretty much only Nickel code on this website, I suggest that we try and use this Tree-sitter plugin rather than relying on Prism.

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

No branches or pull requests

1 participant