UNPKG

rehype-prism-plus

Version:

rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers

10 lines (9 loc) 450 B
export default rehypePrismAll; /** * Rehype prism plugin that highlights code blocks with refractor (prismjs) * This supports all the languages and should be used on the server side. * * Consider using rehypePrismCommon or rehypePrismGenerator to generate a plugin * that supports your required languages. */ declare const rehypePrismAll: import("unified").Plugin<[import("./generator.js").Options?], import("hast").Root, import("hast").Root>;