-
Notifications
You must be signed in to change notification settings - Fork 31
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
Bump Highlightjs version and change how it's loaded #12
Comments
Hey! I just merged a PR that updates highlight.js, I published markdown-it-highlightjs@3.3.0 with that How would you go to prevent importing all languages by default? Does highlight.js support anything like this? |
Yes, it allows you to either autoload all or selected ones. https://highlightjs.readthedocs.io/en/latest/api.html#configure-options - the |
Oh makes sense Since those are global highlight.js options, you should be able to do |
Yeah, I've just forked and modified your package few months ago. |
Right now it uses an outdated version and imports all languages by default.
This makes whole plugin pack a whopping 1.04 MB.
https://i.imgur.com/9AGcONT.png
The text was updated successfully, but these errors were encountered: