Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Highlights filter doesn't guess language correctly #52

Open
rowanseymour opened this issue Jan 26, 2017 · 0 comments
Open

Highlights filter doesn't guess language correctly #52

rowanseymour opened this issue Jan 26, 2017 · 0 comments

Comments

@rowanseymour
Copy link
Member

Currently the highlights filter defaults to a Python lexer, using pygments==2.1.3, but the latest pygments==2.2 returns a generic text lexer.

Would be better if there was some way to explicitly select the language. Problem is that Haml filters can't take arguments. Maybe we set a default language as a compiler setting?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant