Pod::Simple::XHTML::WithHighlightConfig - Allow configuring syntax highlighting hints in Pod
This module allows adding syntax highlighter hints to a Pod document to be rendered as XHTML. Normally, verbatim blocks will be represented inside
<pre><code>...</code></pre> tags. The information will be represented as class names and data attributes on those tags.
Configuration values effect all verbatim blocks until the next highlighter configuration directive.
The configuration must be specified in a
=for highlighter block, as a whitespace separated list of settings. Each setting must be in the form
<key>=<value>. Alternately, a bare option without an
= can be used to specify the language setting.
This is the language to highlight the verbatim blocks with. It will be represented as a
language-$languageclass on the
A true or false value indicating if line numbers should be included. If true, it will be represented as a
line-numbersclass on the
A number for what to start numbering lines as rather than starting at 1. Only valid when the
line_numbersoption is enabled. It will be represented as a
data-startattribute on the
A comma separated list of lines or line ranges to highlight, such as
1,4-6,10-14. It will be represented as a
data-lineattribute on the
TOBYINK::Pod::HTML - Another module using the same configuration format
HTML5 code element - Semantics for highlighting encouraged by the HTML5 spec
haarg - Graham Knop (cpan:HAARG) <firstname.lastname@example.org>
None so far.
This library is free software and may be distributed under the same terms as perl itself.