Skip to content

scuderia-fe/react-syntax-highlighter-catppuccin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Syntax highlighter cattpuccin

NPM License NPM Version

Catppuccin themes for React syntax highlighter.

Getting started

Install react-syntax-highlighter-catppuccin with your preferred package-manager.

pnpm i -D react-syntax-highlighter-catppuccin

After import your preferred theme.

import latte from 'react-syntax-highlighter-catppuccin/latte';
import macchiato from 'react-syntax-highlighter-catppuccin/macchiato';
import frappe from 'react-syntax-highlighter-catppuccin/frappe';
import mocha from 'react-syntax-highlighter-catppuccin/mocha';

and use inside your component.

<ReactSyntaxHighlighter
  // ...
  style={macchiato} // or any different flavor
>

License

MIT

About

React syntax highlighter catppuccin theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published