You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the global bundle of Prism v2 work the same way as Prism v1 does
Now, the user can include Prism the way they used to (except v2 now uses the Autoloader plugin under the hood, so more languages can be highlighted right out of the box):
```html
<link rel="stylesheet" href="themes/prism.css" />
<script src="prism.js"></script>
```
Besides, they have access to the Prism instance via `globalThis`.
0 commit comments