Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

off-by-something errors #8

Open
meejah opened this issue Jun 7, 2017 · 0 comments
Open

off-by-something errors #8

meejah opened this issue Jun 7, 2017 · 0 comments
Labels

Comments

@meejah
Copy link
Owner

meejah commented Jun 7, 2017

It turns out there are two options to the Pygments lexers that must be set to False or it will silently drop leading whitespace-lines.

Also, since we "do Pygments lexer stuff" in many places, this should be re-factored to some kind of utility method.

The important options are lexer.stripall = False and lexer.stripnl = False.

@meejah meejah added the bug label Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant