$v:verbatim-syntax-highlight-options
$v:verbatim-syntax-highlight-options — Syntax highlighting options.
Variable:
{http://docbook.org/ns/docbook/variables}verbatim-syntax-highlight-options
Defined in:
modules/variable.xsl
Used in:
modules/verbatim.xsl
Synopsis
$v:verbatim-syntax-highlight-options:=map { }
Description
If the Pygments
syntax highlighter is applied, the
$verbatim-syntax-highlight-options are applied.
Three options are recognized:
languageThe programming language to use for syntax highlighting. This option is required.
show-commandIf the
show-commandoption is true (“1”, “yes”, or “true”), then thepygmentizecommand will be printed. This is a debugging option.show-resultIf the
show-resultoption is true (“1”, “yes”, or “true”), then the string returned frompygmentizewill be printed. This is a debugging option.
ⓘ
Note
Syntax highlighting with Pygments requires spawning an external process for each highlighted environment. This can add significantly to the processing time if there are many such environments.