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

_Please note: New lexers are contributed to Rouge from the community. Your request will help the community in developing a lexer but it does not mean that anyone **will** develop...

lexer-request

**Name of the lexer** Rust **Code sample** A sample of the code that produces the bug. ```rust const REQUEST: &[u8] = b"GET http://example.com/ HTTP/1.1\r\n\ Host: example.com\r\n\ Accept: */*\r\n\ \r\n"; ```...

bugfix-request

Files to add MetaPost support. It is tested locally. Hope everything is allright (for Gitlab support).

**The name of the language** https://github.com/todotxt/todo.txt **Implementation in other libraries** https://github.com/todotxt/language-todotxt

lexer-request

https://slint.dev/ https://docs.slint.dev/latest/docs/slint/guide/language/concepts/slint-language/

Current situation: Lexer returns the newline character as is, without treating it in a semantic way. HTML formatter wraps the input into `` tags. Inside these tags, each element of...

enhancement-request

**Name of the lexer** When a block has more than 5 arguments, the closing bracket is highlighted in red. **Code sample** A sample of the code that produces the bug....

bugfix-request

Fixes https://github.com/rouge-ruby/rouge/issues/2064 Seems related to https://github.com/rack/rackup?tab=readme-ov-file#soft-deprecation

**Name of the lexer** Terraform **Code sample** ``` locals { example = "${function_call("", "", "/")}" project_name = project_name } ``` ![image](https://github.com/user-attachments/assets/82a2381f-4321-48ab-84c2-59e857288bed) https://rouge.jneen.net/v4.5.1/terraform/bG9jYWxzIHsKICAgICAgICBleGFtcGxlICAgPSAiJHtmdW5jdGlvbl9jYWxsKCIiLCAiIiwgIi8iKX0iCiAgICAgICAgcHJvamVjdF9uYW1lID0gcHJvamVjdF9uYW1lCn0 **Additional context** The function call is has a...

bugfix-request

This adds proper syntax highlighting for shebangs in Groovy and Nextflow files.