Using PrismJS as a Syntax Highlighter in Reactby@itsmycode
13,889 reads

Using PrismJS as a Syntax Highlighter in React

tldt arrow
EN
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

PrismJS is a library written using JavaScript, which is used for syntax highlighting or code highlighting. It's one of the most popular libraries used by millions of websites to highlight the code block. Prism is lightweight (2KB), intuitive, blazing-fast and extensible compared to other libraries. The language is defined through the way recommended in the HTML5 draft: through a language-xxxx class. There are plugins for Prism which provides additional features, and if there is a need, you could select the relevant plugins using the checkbox.

Company Mentioned

Mention Thumbnail
featured image - Using PrismJS as a Syntax Highlighter in React
Srinivas Ramakrishna HackerNoon profile picture

@itsmycode

Srinivas Ramakrishna


Receive Stories from @itsmycode

react to story with heart
Srinivas Ramakrishna HackerNoon profile picture
by Srinivas Ramakrishna @itsmycode.Solution Architect having 14+ Years of Experience in .NET Core, Python, Node.JS, JavaScript, Cloud (Azure), RDBMS
catchsrinivas

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa