🌜
🌞

Best React Syntax Highlighting Libraries

react-syntax-highlighter

react-syntax-highlighter

v15.5.0

syntax highlighting component for react with prismjs or highlightjs ast using inline styles

Last Commit
Apr 29, 2022
GitHub Stargazers
2,852
License
MIT
Contributors
48
@uiw/react-textarea-code-editor

@uiw/react-textarea-code-editor

v2.0.3

A simple code editor with syntax highlighting.

Last Commit
Aug 29, 2022
GitHub Stargazers
226
License
MIT
Contributors
2
react-refractor

react-refractor

v2.1.7

Super-thin React wrapper for refractor (Syntax highlighting using VDOM)

Last Commit
Apr 9, 2022
GitHub Stargazers
52
License
MIT
Contributors
3
react-highlight.js

react-highlight.js

v1.0.7

A lightweight React wrapper around the Highlight.js syntaxt highlighting library

Last Commit
Mar 20, 2020
GitHub Stargazers
103
License
MIT
Contributors
3
react-lowlight

react-lowlight

v3.0.0

Super-thin React wrapper for lowlight (Syntax highlighting using VDOM)

Last Commit
Nov 27, 2021
GitHub Stargazers
95
License
MIT
Contributors
2
@theme-ui/prism

@theme-ui/prism

v0.14.7

A syntax highlighting component based on [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) that works seamlessly with Theme UI.

Last Commit
Oct 5, 2022
GitHub Stargazers
4,696
License
MIT
Contributors
98
react-codemirror-runmode

react-codemirror-runmode

v1.0.5

Syntax highlighting for react, utilizing CodeMirror's parser

Last Commit
-
GitHub Stargazers
22
License
MIT
Contributors
1
@unlimited-react-components/react-highlight

@unlimited-react-components/react-highlight

v2.0.0

Highlight JSX code

Last Commit
Nov 25, 2021
GitHub Stargazers
2
License
MIT
Contributors
1
remark-react-codemirror

remark-react-codemirror

v1.1.2

Syntax highlighting for remark-react through CodeMirror

Last Commit
-
GitHub Stargazers
6
License
MIT
Contributors
1
react-highlight

react-highlight

v0.14.0

React component for syntax highlighting

Last Commit
Feb 25, 2021
GitHub Stargazers
715
License
MIT
Contributors
10
react-simple-code-editor

react-simple-code-editor

v0.11.2

Simple no-frills code editor with syntax highlighting

Last Commit
Sep 27, 2022
GitHub Stargazers
1,166
License
MIT
Contributors
9
react-highlight-codeblock

react-highlight-codeblock

v1.1.3

syntax highlighting component for react-syntax-highlighter with highlightjs ast using inline styles

Last Commit
-
GitHub Stargazers
1
License
MIT
Contributors