rouge icon indicating copy to clipboard operation
rouge copied to clipboard

A pure Ruby code highlighter that is compatible with Pygments

Results 257 rouge issues
Sort by recently updated
recently updated
newest added

**Name of the lexer** Pascal **Code sample** ``` procedure TForm1.FormCreate(Sender: TObject); const n = %01101100 {binary} + &01234567 {octal} + $FF00 {hex}; begin end; ``` **Additional context** Docs: https://www.freepascal.org/docs-html/ref/refse6.html

bugfix-request

**Name of the lexer** TSX **Code sample** Type arguments to generic components are not recognized by Rouge. ``` const render = () => ( ); const render2 = () =>...

bugfix-request

**Name of the lexer** diff **Code sample** ```diff // path/to/file.js + this is inserted + over multiple lines - this is removed - over multiple lines ``` This is how...

bugfix-request
stale-issue

Hello! This snippet is not highlighted on Gitlab, although it's a valid syntax in Angular: ``` // some-comp.component.ts @Component({ selector: 'selector', template: `` }) class SomeComp {} ```

enhancement-request
stale-issue

Currently, the token shortname is used directly as the CSS class for a token. Due to the brevity of the shortnames (e.g., `err`), when the Rouge stylesheet is combined with...

enhancement-request
stale-issue

Could you please make the Wiki editable by any GitHub user? There are numerous typos that could be fixed, and the setup instructions for Windows could do some added notes...

enhancement-request
stale-issue

**Name of the lexer** ConsoleLexer **Code sample** ```rb require 'rouge' console = ` character in the middle of the line. So the code above produces this output: ```html $ echo"Hello...

bugfix-request

[Issue #709] Based on [Agda's lexer](https://github.com/agda/agda/blob/master/src/full/Agda/Syntax/Parser/Lexer.x), I've filled out the remaining bits of the Agda lexer. It doesn't quite match the behaviour, especially in places where the semantics of the...

needs-review

**Name of the lexer** properties **Code sample** ```properties # real comment key = value # comment on last line ``` **Additional context** Adding a new line fixes the problem but...

bugfix-request

**Name of the lexer** Coq **Code sample** ```coq (* Now the negative universal property. *) Definition prod_coind_uncurried `{A : X -> Type} `{B : X -> Type} : (forall x,...

bugfix-request