Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "prism-es6", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Enable prismjs library to be imported using ES6 syntax", | ||
@@ -5,0 +5,0 @@ "main": "prism.js", |
@@ -11,3 +11,6 @@ # prism-es6 | ||
``` | ||
import Prism from 'Prism'; | ||
``` | ||
import Prism from 'prism-es6'; | ||
``` | ||
Now you can run use Prism API without the highlighter being executed on import. | ||
For API options see : [Prism API](https://prismjs.com/extending.html) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41589
15