Type definitions are available in the @types/react-syntax-highlighter package
react-syntax-highlighter
- Version 15.6.1
- Published
- 2.21 MB
- 6 dependencies
- MIT license
Install
npm i react-syntax-highlighter
yarn add react-syntax-highlighter
pnpm add react-syntax-highlighter
Overview
syntax highlighting component for react with prismjs or highlightjs ast using inline styles
Dependencies (6)
Dev Dependencies (36)
- @babel/cli
- @babel/core
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-object-rest-spread
- @babel/plugin-syntax-dynamic-import
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-react
- babel-core
- babel-eslint
- babel-jest
- babel-loader
- babel-plugin-transform-dynamic-import
- codecov
- css
- css-loader
- eslint
- eslint-config-prettier
- eslint-plugin-jest
- eslint-plugin-prettier
- eslint-plugin-react
- husky
- jest
- lint-staged
- prettier
- prism-themes
- react
- react-dom
- react-syntax-highlighter-virtualized-renderer
- react-test-renderer
- request
- style-loader
- to-camel-case
- webpack
- webpack-cli
- webpack-dev-server
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/react-syntax-highlighter
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/react-syntax-highlighter)
- HTML<a href="https://www.jsdocs.io/package/react-syntax-highlighter"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 525 ms. - Missing or incorrect documentation? Open an issue for this package.