0.2.4 • Published 3 years ago

react-rapid-highlight v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

About

Light and fast code highlight component for React applications

Usage

Import the Highlight component:

import { Highlight } from 'react-rapid-highlight'

Render the component:

<Highlight language="python" text="print(\'Hello World!\')" fontSize={12} lineHeight={0.75} rowHeight={30} theme="vsc-dark-plus" />


The following props can be passed to the Highlight component:

0.2.1

3 years ago

0.2.0

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.1.6

3 years ago

0.2.4

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago