How is it different from Prism?
- No need of including a client side library, just for highlighting the code snippets (when used with markdown-it and gatsby).
- Uses ES6
Maps to ensure the order in language definitions.
react-illuminateworks in the "react way". No need for
npm install --save illuminate-js
Before you can use the highlighter, you will need to add the languages defintions you want to use, as shown below. This helps in keeping the bundle size down.
MIT. Copyright(c) Vivek Kumar Bansal