-
Notifications
You must be signed in to change notification settings - Fork 2
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
Minimal example with CDN? #13
Comments
I get the same error if I replace |
This issue is still not resolved over a year later. I am using the following as part of a blogger template:
and in the content I am using:
This fails with the console showing:
It fails in updated Firefox and Safari browsers. |
Apologies for taking so long to get to this. If I understand highlightjs/highlight.js#3363 correctly, this is due to a change in rollup which broke all CDN builds of highlightjs extra packages (including highlightjs-lean) which were built using versions of highlightjs before version 11.3.1. I think what I'll need to do is to upgrade highlightjs-lean to the latest version 11, then rebuild it and publish to npm, and then hopefully unpkg will pick it up soon afterwards and then things will work again. I'll try to get to this sometime tonight 🤞 |
Thanks - I appreciate your help. I wish I was capable of helping in some way. |
I think this should be fixed now. This file now highlights properly for me in the VS Code Live Preview: https://github.com/leanprover-community/highlightjs-lean/blob/c9b83e8791d015df75d3ee4358e72ffbd648def6/test/cdn_test.html |
What's a full minimal example of using this package with a CDN? The static page below gets a
TypeError
inregisterLanguage
, but the go example works fine.The text was updated successfully, but these errors were encountered: