Yelp

(The Help System)

html.js.syntax

Parameters

$node

The node to create JavaScript for.

This template outputs HTML script elements to enable syntax highlighting. It only outputs if html.syntax.highlight is true. It outputs one script element to load in highlight.js, and another to initialize highlight.js on all code elements with "syntax" in the class value.