Skip to content
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

prismjs should not be directly linked from CDN #7

Open
jogibear9988 opened this issue Nov 3, 2024 · 0 comments
Open

prismjs should not be directly linked from CDN #7

jogibear9988 opened this issue Nov 3, 2024 · 0 comments

Comments

@jogibear9988
Copy link

prismjs should be included from NPM package not from CDN.
prism then should be a dependency of the package.

This is not possible at the moment, cause prismjs has no ESM package, and could not easily be included.

This should be fixed if a ESM version is available.

issue about ESM modules in V2:
PrismJS/prism#3703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant