refractor
v4.8.1
Lightweight, robust, elegant virtual syntax highlighting using Prism
Install
npm
install
refractor
Bundle size
Dependencies
Downloads
SVG service
Dependencies
Dependencies
(4)
@types/hast
^2.0.0
@types/prismjs
^1.0.0
hastscript
^7.0.0
parse-entities
^4.0.0
Peer Dependencies
(0)
Dev Dependencies
(23)
@babel/core
^7.0.0
@types/babel__core
^7.0.0
@types/mdast
^3.0.0
@types/node
^18.0.0
alpha-sort
^5.0.0
c8
^7.0.0
chalk
^5.0.0
detab
^3.0.0
hast-util-to-html
^8.0.0
is-hidden
^2.0.0
is-keyword
^1.0.0
mdast-zone
^5.0.0
patch-package
^6.0.0
prettier
^2.0.0
prismjs
~1.29.0
rehype
^12.0.0
remark-cli
^11.0.0
remark-preset-wooorm
^9.0.0
trim-lines
^3.0.0
type-coverage
^2.0.0
typescript
^4.0.0
unist-builder
^3.0.0
xo
^0.53.0