{"library":"react-highlight","type":"library","category":null,"description":"react-highlight is a React component designed to provide syntax highlighting for code snippets within web applications by integrating the `highlight.js` library. It allows developers to display formatted code by passing code strings as children to the `Highlight` component or by rendering pre-processed HTML containing multiple code blocks. The current stable version available on npm is `0.15.0`. However, the project's README specifies `0.11.1` as the 'latest version', which suggests potential documentation lag or an irregular release cadence. A key differentiator is its direct, minimalist wrapper around `highlight.js`, making it straightforward for both single-snippet and multi-snippet highlighting, especially useful when parsing markdown-generated content. Styling is handled externally via `highlight.js` CSS themes, requiring manual inclusion.","language":"javascript","status":"maintenance","version":"0.15.0","tags":["javascript","react","highlight.js","syntax","highlighting","react-component"],"install":[{"cmd":"npm install react-highlight","imports":["import Highlight from 'react-highlight'","const Highlight = require('react-highlight').default;","import 'highlight.js/styles/github.css';"]},{"cmd":"yarn add react-highlight","imports":[]},{"cmd":"pnpm add react-highlight","imports":[]}],"homepage":null,"github":"https://github.com/akiran/react-highlight","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-highlight","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-highlight/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}