Skip to content

Initial Gleam support - #2070

Open
aognio wants to merge 1 commit into
rouge-ruby:mainfrom
aognio:gleam-01
Open

Initial Gleam support#2070
aognio wants to merge 1 commit into
rouge-ruby:mainfrom
aognio:gleam-01

Conversation

@aognio

@aognio aognio commented Sep 15, 2024

Copy link
Copy Markdown

Here's an screenshot of how it looks:

gleam-rouge-aognio

We can compare this output to the same file on Github here:

https://github.com/gleam-lang/example-todomvc/blob/main/src/todomvc.gleam

@tancnle

tancnle commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

@aognio This would be better to be done as a plug-in than being bundled in Rouge core. It looks like Gleam is also implemented via highlight.js plugin.

@tancnle tancnle closed this Aug 6, 2026
@jneen

jneen commented Aug 6, 2026

Copy link
Copy Markdown
Member

Actually I wouldn't mind having Gleam in core. This lexer would have to be rebased and updated to pass the latest style checks though.

@jneen jneen reopened this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants