# Highlight.js Module

This module converts any pre code selector found in PRESENTA Lib(opens new window) blocks using highlightjs library(opens new window) .

# Usage

To configure this module use this setting:

modules:{
  highlightjs: true
}

Use any valid Highlight.js style(opens new window) instead true to override the default style, such as:

modules:{
  highlightjs: 'gradient-light'
}

The plugin inject the selected style. If you want to disable this behavior, configure this way:

modules:{
  highlightjs:{
    noCss: true,
    style: 'gradient-light'
  }
}
Option Description Default Values
noCss Define this module type Boolean
style A valid HighLight.js style String

# Installation

Please read the installation istructions for official plugins here using this unique identifier: module-highlightjs

You can find the source code in its repository(opens new window) .