Skip to content

Enable prismjs library to be imported using ES6 syntax

License

Notifications You must be signed in to change notification settings

elisiondesign/prism-es6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prism-es6

This module is just a wrapper around the popular prismjs library, to enable importing using ES6 syntax.

Usage

npm install --save prism-es6
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