prismjs-cairo
v1.0.1
Published
Cairo syntax highlighting for prism.js
Downloads
101
Maintainers
Readme
prismjs-cairo
Cairo syntax highlighting for react-syntax-highlighter and refractor.
Installation
npm install prismjs-cairo
Usage
import { PrismLight } from 'react-syntax-highlighter';
import cairo from 'prismjs-cairo';
PrismLight.registerLanguage('cairo', cairo);
or
import { refractor } from 'refractor'
import cairo from 'prismjs-cairo'
refractor.register(cairo)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome. Please check the issues to see how you can help.