diff --git a/index.html b/index.html index 532e2dfb43..5671b17696 100644 --- a/index.html +++ b/index.html @@ -188,7 +188,7 @@

Usage with Node

Example:

var Prism = require('prismjs');
-var loadLanguages = require('prismjs/components');
+var loadLanguages = require('prismjs/components/index.js');
 loadLanguages(['haml']);
 
 // The code snippet you want to highlight, as a string