Updated index.html to fix broken instructions (#1462)
Updated index.html to fix broken instructions (#1462)

* Updated index.html to fix broken instructions

Requiring components without the "index.js" part and calling "loadLanguages" results in a function not found error for me. Adding index.js, as commented by @golmote, fixes that error.

Ref: https://github.com/PrismJS/prism/issues/972

* Updated index.html to fix nodejs instructions

Fixed the require so that nodejs does not give an error when requiring the loadLanguages function.

byverdu/prism,PrismJS/prism,CupOfTea696/prism,CupOfTea696/prism,PrismJS/prism,PrismJS/prism,PrismJS/prism,byverdu/prism,PrismJS/prism,CupOfTea696/prism,byverdu/prism,CupOfTea696/prism,CupOfTea696/prism,byverdu/prism,byverdu/prism