0.2.4 • Published 2 years ago

react-rapid-highlight v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.1.6

2 years ago

0.2.4

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago