1.0.1 • Published 10 months ago

prismjs-cairo v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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.