You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used the markdown syntax of “```groovy ... ```“ to put in Groovy code, I found that the code was not highlighted during preview. Other programming languages don't seem to have this problem. May I ask why?
Steps
No response
Possible Solution(s)
It may be related to highlight.js, but when I tried using the official file of this js separately, I found that there was no problem with highlighting in Groovy.
Notes
No response
Version
mdbook v0.4.43
The text was updated successfully, but these errors were encountered:
As I understand you could download a new version of highlight.js that includes Groovy from there and use that or you could go to the longer route and send a PR to upgrade the highlight.js in mdbook including all the currently supported languages. Thought first you might want to verify that the core developers are even interested in such an upgrade.
Going over all the issues mentioning highlight, it seems people are suggesting switching from highlight.js to other tools.
Problem
When I used the markdown syntax of “```groovy ... ```“ to put in Groovy code, I found that the code was not highlighted during preview. Other programming languages don't seem to have this problem. May I ask why?
Steps
No response
Possible Solution(s)
It may be related to highlight.js, but when I tried using the official file of this js separately, I found that there was no problem with highlighting in Groovy.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: