react-illuminate
v2.0.0-alpha.2
Published
Syntax Highlighting for React
Downloads
24
Readme
React Illuminate
Install
npm install --save illuminate-js react-illuminate
Usage
import { addLanguage } from 'illuminate-js';
import { javascript } from 'illuminate-js/lib/languages';
import { Illuminate } from 'react-Illuminate';
addLanguage('js', javascript);
<Illuminate lang="js">
{`
/** Your Code Sample here **/
var foo = 123;
`}
</Illuminate>;
License
MIT. Copyright(c) Vivek Kumar Bansal