rehype-laserbeam

0.4.0 • Public • Published

rehype-laserbeam

Plugin for rehype to enable syntax highlighting and annotation with Laserbeam.

Applies highlighting to code blocks contained in pre > code elements with a language class of language-js.

Options

rehype().use(rehypeLaserbeam[, options])

options
options.removeLanguageJsClassName

Remove the language-js class from the target code element. This may be useful if you want to prevent another plugin from trying to highlight the same code block. (boolean, default: true)

options.laserbeamOptions

Options (object, default: undefined)

License

MIT © Marek Zaluski

Readme

Keywords

none

Package Sidebar

Install

npm i rehype-laserbeam

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

3.79 kB

Total Files

4

Last publish

Collaborators

  • marekweb