/js.Highlight

The js.Highlight module for Orchard CMS contains the Highlight.js and related script libraries.

Primary LanguageCSS

js.Highlight

A common location for Highlight.js and related script libraries for Orchard Project.

This module defines a script manifest for Highlight Library with name "Highlight".
You can include Highlight script inside your Razor views using:
Script.Require("Highlight")

Highlight module will automatically insert your Highlight.js script in every page.
You can disable this bevavior and include highlight on demand (using Script.Require("Highlight") inside your theme/view) by unchecking Auto Enable at highlight module settings.

You can also select the full version of Highlight to automatically load on every page.