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

Highlights filter doesn't guess language correctly #52

Open
@rowanseymour

Description

@rowanseymour

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions