Opening this just in case folks have a similar issue, and to track it here too.
Prism's use of global can cause issues with eleventy-plugin-syntaxhighlight's dynamic loading if another plugin that is loaded afterwards also uses Prism. I think this is related to Prism's use of global for the language loader to access the Prism instance.
Opening this just in case folks have a similar issue, and to track it here too.
Prism's use of
global
can cause issues with eleventy-plugin-syntaxhighlight's dynamic loading if another plugin that is loaded afterwards also uses Prism. I think this is related to Prism's use ofglobal
for the language loader to access the Prism instance.Also logged this on Prism: https://github.com/PrismJS/prism/issues/3636