rouge icon indicating copy to clipboard operation
rouge copied to clipboard

Provide support for Scala 3

Open alexandru opened this issue 3 years ago • 1 comments

The name of the language Scala 3 is the next iteration of the Scala language, already released and stable — Rouge supports Scala 2 syntax, but Scala 3 also introduces some new keywords (e.g., enum, end), and it adds the option to use significant indentation.

Implementation in other libraries Pygments has already implemented support for Scala 3, inspired by the Scala lexer defined for VS Code, see:

I'm a Scala developer, I have a Scala personal blog built with Jekyll and configured with Rouge, I'd really appreciate it.

Thanks for all your wonderful work ❤️

alexandru avatar Oct 28 '22 10:10 alexandru

I plan to work on this later in the week.

hearnadam avatar May 15 '25 22:05 hearnadam