Skip to content
Hallvard Trætteberg edited this page Jun 22, 2021 · 14 revisions

Useful Plugins

If you have written a useful plugin for Highlight.js, please feel free to add it to the list below. If you're thinking about it, please have a look at our plugin API. We're also happy to answer questions on our Discord if you need help.

Plugins

  • LineifyPlugin: restructures the output of highlightjs to span elements corresponding to lines, to simplify highlighting lines and adding line numbers
  • Add your plugin here. :-)

Legacy Plugins

Some functionality has been removed from the core library with the newest releases but can be added back via plugins. There are often better ways than using plugins though, see the version 11 upgrade notes.

  • Former useBR functionality #2259 (not maintained)
  • Former tabReplace functionality #2874 (not maintained)
  • Former HTML merging functionality #2889 (not maintained, currently broken)
  1. José e Maria Maria
  2. José J&M
Clone this wiki locally