| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This triggers a new case in the HtmlFormatter, which emits an empty span
at the end of the line for a new line, as those are removed by the
split-by-parts code. This requires separate post-processing.
Doesn't fix all whitespace issues with Python either, but we're done to
360 failing examples with that, from previously >400.
|
|
|
|
|
|
|
|
| |
Disable highlighting of unicode escape codes in python bytes literals,
as described in
https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals.
So escape codes of the form "\N{name}", "\uxxxx" and "\Uxxxxxxxx" will
no longer be highlighted within bytes literals. Add tests for escape
code highlighting in string and bytes literals.
|
|
|
|
|
|
|
|
|
| |
* lexers: python: add test cases for floats
* lexers: python: fix float lexing
* lexer:python:fixed test syntax
Co-authored-by: Aidan Do <giahuydo99@gmail.com>
|
|
docs to point to both snippets and examplefiles.
|