$v:prism-js-head-elements
$v:prism-js-head-elements — CSS and JavaScript to support Prism.
Variable:
{http://docbook.org/ns/docbook/variables}prism-js-head-elements
Defined in:
modules/variable.xsl
Used in:
main.xsl
Synopsis
|<xsl:variable name="v:prism-js-head-elements"
| as="element()*">
| <link rel="stylesheet" href="{$resource-base-uri}css/prism.css"/>
| <script src="{$resource-base-uri}js/prism.js"/>
|</xsl:variable>
Description
If the
syntax highlighter is
selected (see prism
$verbatim-syntax-highlighter
), these elements are
added to the head
element to
load and configure the highlighter.
Starting with the DocBook xslTNG Stylesheets version 1.4.1,
any link
elements will be
added to the head
element
before links to user-defined CSS files so that property overrides
may be specified.