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

A simple question I haven't found: Why the token `dl` (**Literal String Delimiter**) is used in JavaScript but not on others languages (Python, C, C++, PHP,....) ### Diff In JavaScript:...

**Describe the error** In the Wiki page list of tokens [here](https://github.com/rouge-ruby/rouge/wiki/List-of-tokens) the token `mx` has wrong name and description according to usage and the [token.rb](https://github.com/rouge-ruby/rouge/blob/master/lib/rouge/token.rb#L150) file. The issue has been...

docs-request

**Is your enhancement request related to a problem? Please describe.** Rouge doesn't support AHK script coloring syntax https://www.autohotkey.com/

enhancement-request

Looking at this list: `https://github.com/rouge-ruby/rouge/blob/master/docs/Languages.md` You can see `sh`, `bash` and `text` are all missing yet seem to be supported. Also `basic` is missing but I suspect it is supported....

docs-request

**Name of the lexer** TOML **Code sample** ``` aaa = "a:100" 100 = "a:100" 1a = "a:100" ``` Code sample on [rouge.jneen.net][dingus]. **Additional context** In the above snippet all three...

bugfix-request

**Is your enhancement request related to a problem? Please describe.** [Prisma](https://www.prisma.io/docs/) is a database toolkit that comes with its own [data modeling language](https://github.com/prisma/specs/tree/master/schema) to define the so-called [Prisma schema](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-schema). Right...

enhancement-request

The Julia definitions here are partially incorrect (we've never had a `super` keyword, for example) and very out of date. Some of this was addressed in #912, but I've opened...

bugfix-request

It seems that the [lib/rouge/demos/xml](https://github.com/rouge-ruby/rouge/blob/master/lib/rouge/demos/xml) is not valid XML: ~~~ $ xmllint lib/rouge/demos/xml xml:2: namespace error : Namespace prefix xsl on template is not defined ^ ~~~

bugfix-request

_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

I noticed there is zilch in terms of documentation for creating custom themes. I managed to figure it out, but for future viewers, it would be helpful to have a...