Skip to content

Move some lexers to a separate rouge/contrib gem. #2194

@jneen

Description

@jneen

Despite Rouge being eminently extensible in terms of new lexers (I have several projects that just subclass Rouge::Lexer directly) there seems to be a broad misunderstanding that languages must be in Rouge core in order to be used.

That being said, projects like Gitlab do need to support some flavour of "all languages", so it is often useful to have some amount of centralization. I think an external contrib library is a nice balance that a) shows that you can extend Rouge without too much fuss, and b) provides a more appropriate place for smaller, niche languages to live.

@tancnle thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions