highlight-code-blocks

1.0.0 • Public • Published

highlight-code-blocks

highlight-code-blocks is library aimed at react developers who want to implement highlight.js in their project.

Installation

Use the npm package manager to install highlight-code-blocks.

npm install highlight-code-blocks

Usage

import CodeHighlighter from "highlight-code-blocks";

<CodeHighlighter>---code block as string---</CodeHighlighter>;

Screenshot

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Dependents (0)

Package Sidebar

Install

npm i highlight-code-blocks

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

9.47 kB

Total Files

4

Last publish

Collaborators

  • milindsoorya