How do you add a new language syntax highlighter to codehike? #324
Unanswered
lancejpollard
asked this question in
Q&A
Replies: 1 comment
-
Hi, Code Hike now uses lighter for highlighting. If you just want to try your grammar with codehike, the easiest way would be to replace one of the existing grammars in That said, we plan to support custom grammars in the future: #297 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using codehike with mdx and Next.js because of this wonderful blog post. But I would like to syntax highlight the Coq language, which doesn't appear to be supported. Here are a bunch of grammars, like this Coq one (it is very short, nothing fancy yet).
How can I add support for this language to my Next.js project? That is, how can I just hack it in without making a PR to
codehike
to add formal support? Or how can I also create the PR to add formal support to codehike?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions