-
Notifications
You must be signed in to change notification settings - Fork 151
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
About included languages ? #85
Comments
Hi there, I'm trying to include syntax highlighting for Rust in my markdown files but Rust is not part of the included languages. Any idea of how I can add syntax highlighting for Rust? |
@jeffzh4ng Hi, Rust language is included in PrismJS, but the bundled version of prism-react-renderer does not include all of them. You can follow the guidelines from FAQ to add support, or install the |
@jeffzh4ng you'll have to pass Then either you make a file that just reexports |
Got it, thank you 🙏 |
Hello,
First, thank you for this great work! 👏
I'm getting started on a SSG NextJS project, and I was wondering what was the purpose of the limitation of included languages? I guess this is about bundle size and performances, but what about just using something like the
babel-plugin-prismjs
, instead of the method described here?I'll be happy to discuss that!
Thx again
The text was updated successfully, but these errors were encountered: