rouge
rouge copied to clipboard
A pure Ruby code highlighter that is compatible with Pygments
_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...
**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"; ```...
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
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...
**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....
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 } ```  https://rouge.jneen.net/v4.5.1/terraform/bG9jYWxzIHsKICAgICAgICBleGFtcGxlICAgPSAiJHtmdW5jdGlvbl9jYWxsKCIiLCAiIiwgIi8iKX0iCiAgICAgICAgcHJvamVjdF9uYW1lID0gcHJvamVjdF9uYW1lCn0 **Additional context** The function call is has a...
This adds proper syntax highlighting for shebangs in Groovy and Nextflow files.