Cairo syntax highlighting for react-syntax-highlighter and refractor.
npm install prismjs-cairo
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)
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome. Please check the issues to see how you can help.