Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@episodeyang/react-highlight.js
Advanced tools
A lightweight React wrapper around the Highlight.js syntaxt highlighting library
See the demo here.
Install @episodeyang/react-highlight.js using NPM:
npm install @episodeyang/react-highlight.js --save
Choose a highlight.js theme and make sure it's included in your index file.
<link rel='stylesheet' href='https://highlightjs.org/static/demo/styles/railscasts.css'/>
And then use @episodeyang/react-highlight.js to display your text like so:
<Highlight language={language}>
{content}
</Highlight>
@episodeyang/react-highlight.js is available under the MIT License.
FAQs
A lightweight React wrapper around the Highlight.js syntaxt highlighting library
The npm package @episodeyang/react-highlight.js receives a total of 2 weekly downloads. As such, @episodeyang/react-highlight.js popularity was classified as not popular.
We found that @episodeyang/react-highlight.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.