Description

Lexer for a specific language.

Basic options recognized: “stripnl“

Strip leading and trailing newlines from the input (default: True).

“stripall“

Strip all leading and trailing whitespace from the input
(default: False).

“ensurenl“

Make sure that the input ends with a newline (default: True).  This
is required for some lexers that consume input linewise.
*New in Pygments 1.3.*

“tabsize“

If given and greater than 0, expand tabs in the input (default: 0).

“encoding“

If given, must be an encoding name. This encoding will be used to
convert the input string to Unicode, if it is not already a Unicode
string (default: ``'latin1'``).
Can also be ``'guess'`` to use a simple UTF-8 / Latin1 detection, or
``'chardet'`` to use the chardet library, if it is installed.

Lexer is referenced in 0 repositories