diff options
author | Georg Brandl <georg@python.org> | 2010-04-14 23:46:20 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-04-14 23:46:20 +0200 |
commit | c744e791cd504ce81fb0afdd928255564f249a11 (patch) | |
tree | ed476c4831c82ec106bd2c3797570b9e9614be0d /docs/src | |
parent | 2208127135f0021b1f97ac8ff6aebbc176fce95e (diff) | |
download | pygments-c744e791cd504ce81fb0afdd928255564f249a11.tar.gz |
Add docs for ensurenl lexer option.
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/lexers.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/lexers.txt b/docs/src/lexers.txt index 5d40b4b8..016de6ce 100644 --- a/docs/src/lexers.txt +++ b/docs/src/lexers.txt @@ -15,6 +15,11 @@ Currently, **all lexers** support these options: 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``). |