-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Use Chroma fallback when no language is specified #8913
Labels
Milestone
Comments
This actually may be in https://github.com/yuin/goldmark-highlighting |
Related to, or duplicate of, #8824. |
This was referenced Aug 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, when using code fences without language specified (and
guessSyntax
is disabled), no CSS class or style is added topre
/code
. I think it would be more useful to use the fallback lexer instead -- like it happens whenguessSyntax
is used and the language isn't identified -- as it would use a consistent fore/background color without special CSS handling.The text was updated successfully, but these errors were encountered: