all.js 489 B

12345678910111213
  1. import { refractor as refractorAll } from 'refractor/lib/all.js'
  2. import rehypePrismGenerator from './generator.js'
  3. /**
  4. * Rehype prism plugin that highlights code blocks with refractor (prismjs)
  5. * This supports all the languages and should be used on the server side.
  6. *
  7. * Consider using rehypePrismCommon or rehypePrismGenerator to generate a plugin
  8. * that supports your required languages.
  9. */
  10. const rehypePrismAll = rehypePrismGenerator(refractorAll)
  11. export default rehypePrismAll