rouge
rouge copied to clipboard
Syntax highlighting for Chapel language
Description
Add syntax support for Chapel programming language
Links / references
Motivation
Chapel highlighting is currently supported on GitHub:
proc hi() {
writeln('Hello Rouge');
}
We'd like to add support to GitLab as well, which uses Rouge.
If there is documentation or useful examples of converting any of our existing highlighters, such as Pygments -> Rouge, I'd be happy to take a shot at it myself.
This contribution has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days.
If there is documentation or useful examples of converting any of our existing highlighters,
It looks like there's a guide to follow here:
https://www.rubydoc.info/github/rouge-ruby/rouge/file/docs/LexerDevelopment.md
@ben-albrecht Yeah, I added that shortly after coming on board as a maintainer. We have a PR (#1145) with fixes that need to be added but hopefully that's helpful.
Related PR https://github.com/rouge-ruby/rouge/pull/1743/files