react-syntax-highlighter-catppuccin
v0.0.4
Published
<div style="display: flex; gap: 10px;"> <img alt="NPM License" src="https://img.shields.io/npm/l/react-syntax-highlighter-catppuccin"></img> <img alt="NPM Version" src="https://img.shields.io/npm/v/react-syntax-highlighter-catppuccin"></img> </div
Downloads
8
Readme
React Syntax highlighter cattpuccin
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
>