Closed spooky closed 8 years ago
The link to the download page you provided does not have the JavaScript language included in the bundle.
The file prism.js
on github is used by the Prism website, so it already has the JS language included. When you use the bundle generated by the download page however, you do need to check JavaScript to actually be able to highlight JS code.
Ok, thanks.
I used this configuration to download the js: http://prismjs.com/download.html?themes=prism-okaidia&languages=markup&plugins=line-numbers+autolinker
Autolinker doesn't work, but when I use the unminified & unbundled version (so include prism.js & prism-autolinker.js) it works fine.
sample code: