Don't show error messages for prismjs missing languages #1076
Labels
difficulty: starter
Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan.
good first issue
If you are just getting started with Docusaurus, this issue should be a good place to begin.
help wanted
Asking for outside help and/or contributions to this particular issue or PR.
💥 Proposal
Currently, it's possible to use
usePrism: true
to set prismjs as the syntax highlighter for all languages. However when a language that prismjs doesn't support is used, the errors are logged to console. Personally think this could be done much better.References #735 (comment)
Have you read the Contributing Guidelines on issues?
Yes
The text was updated successfully, but these errors were encountered: