prismjs-cairo
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i prismjs-cairo

Weekly Downloads

106

Version

1.0.1

License

MIT

Unpacked Size

6.16 kB

Total Files

5

Last publish

Collaborators

  • nunoplima