@mapbox/rehype-prism

v0.9.0
rehype plugin to highlight code blocks in HTML with Prism
rehype rehype-plugin syntax-highlighting prism html

lint

eslint .

format

prettier --write '{,lib/,test/}*.js'

test-jest

jest

pretest

npm run lint

test

jest

prepare

husky install
npm i @mapbox/rehype-prism

Metadata

  • MIT
  • >=10
  • Mapbox
  • released 11/1/2023

Downloads