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

Hello, is there a way to customize the displayed width of tabs to 4 spaces? If not, where is the best place to add the custom behavior?

This commit reduces to zero all warnings generated internally by Rouge when Ruby is run with warnings enabled.

needs-review

Upon reviewing the lexer build for q (kdb+), there was quite a few of the keywords/operators missing from the lexer file. Complete set of keywords, operators and system commands available...

Those happened in C# language versions 6 through 9. I've mostly tested these additions visually (using `rackup`). Tests (`rake`) all pass. Here's a quick summary with links to official documentation:...

Hello, Is it possible to support pug? Thank.

lexer-request

**Name of the lexer** Protobuf **Code sample** A sample of the code that produces the bug. ```proto message Person { map person_id = 1; } ``` ![image](https://user-images.githubusercontent.com/23313616/100754612-f4ad4e00-33f3-11eb-8ddf-a8e107fda85f.png) A link to...

bugfix-request

This issue is similar to #621 or #831 where the Unicodes are highlighted with a bold concrete background (I guess it's an error?). It looks like #621 is fixed by...

bugfix-request

**Is your enhancement request related to a problem? Please describe.** The Puppet lexer does not support string interpolation (see [this comment](https://github.com/rouge-ruby/rouge/pull/1288#issuecomment-516270580)). **Describe the solution you'd like** The Puppet lexer would...

bugfix-request

Docs introduce themes like this: ``` # Get some CSS Rouge::Themes::Base16.mode(:light).render(scope: '.highlight') # Or use Theme#find with string input Rouge::Theme.find('base16.light').render(scope: '.highlight') ``` Then say you can do this Rouge::Formatters::HTMLInline.new(theme) ok,...

docs-request

This PR adds a lexer for the [Savi programming language](https://github.com/savi-lang/savi).