rouge icon indicating copy to clipboard operation
rouge copied to clipboard

Syntax highlighting for Chapel language

Open ben-albrecht opened this issue 7 years ago • 5 comments

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.

ben-albrecht avatar Jun 06 '17 21:06 ben-albrecht

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.

ben-albrecht avatar Jun 06 '17 21:06 ben-albrecht

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.

stale[bot] avatar Jun 19 '19 16:06 stale[bot]

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 avatar Jun 19 '19 16:06 ben-albrecht

@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.

pyrmont avatar Jun 19 '19 19:06 pyrmont

Related PR https://github.com/rouge-ruby/rouge/pull/1743/files

tancnle avatar Jan 25 '22 05:01 tancnle