File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Syntax highlighter for React, utilizing VDOM for efficient updates
4
4
5
- [ ![ npm version] ( http ://img.shields.io/npm/v/react-refractor.svg?style=flat-square)] ( http ://browsenpm.org /package/react-refractor)
5
+ [ ![ npm version] ( https ://img.shields.io/npm/v/react-refractor.svg?style=flat-square)] ( https ://www.npmjs.com/package/react-refractor ) [ ![ npm bundle size ] ( https://img.shields.io/bundlephobia/minzip/react-refractor?style=flat-square )] ( https://bundlephobia.com/result?p=react-refractor ) [ ![ npm weekly downloads ] ( https://img.shields.io/npm/dw/react-refractor.svg?style=flat-square )] ( https://www.npmjs.com /package/react-refractor)
6
6
7
7
- Thin wrapper on top of [ refractor] ( https://github.com/wooorm/refractor ) (Syntax highlighting using VDOM)
8
8
- refractor uses [ Prism] ( https://github.com/PrismJS/prism ) under the hood, thus supports all the same syntaxes
You can’t perform that action at this time.
0 commit comments