https://github.com/rouge-ruby/rouge
A pure Ruby code highlighter that is compatible with Pygments
https://github.com/rouge-ruby/rouge
Keywords
minitest rubocop ruby syntax-highlighting
Keywords from Contributors
activerecord mvc activejob rubygems rack rspec deployment ruby-gem static-code-analysis code-formatter
Last synced: about 12 hours ago
JSON representation
Repository metadata
A pure Ruby code highlighter that is compatible with Pygments
- Host: GitHub
- URL: https://github.com/rouge-ruby/rouge
- Owner: rouge-ruby
- License: other
- Created: 2012-08-31T09:54:51.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2026-04-24T22:14:39.000Z (6 days ago)
- Last Synced: 2026-04-29T20:05:45.104Z (about 21 hours ago)
- Topics: minitest, rubocop, ruby, syntax-highlighting
- Language: Ruby
- Homepage: https://rouge.jneen.ca/
- Size: 5.77 MB
- Stars: 3,426
- Watchers: 51
- Forks: 807
- Open Issues: 243
- Releases: 50
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: Contributing.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Agents: AGENTS.md
README.md
Rouge
Rouge is a pure Ruby syntax highlighter. It can highlight
over 200 different languages, and output HTML
or ANSI 256-color text. Its HTML output is compatible with
stylesheets designed for Pygments.
Installation
In your Gemfile, add:
gem 'rouge'
or
gem install rouge
Usage
Rouge's most common uses are as a Ruby library, as part of Jekyll and as a
command line tool.
Library
Here's a quick example of using Rouge as you would any other regular Ruby
library:
require 'rouge'
# make some nice lexed html
source = File.read('/etc/bashrc')
formatter = Rouge::Formatters::HTML.new
lexer = Rouge::Lexers::Shell.new
formatter.format(lexer.lex(source))
# 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')
Jekyll
Rouge is Jekyll's default syntax highlighter. Out of the box, Rouge will be
used to highlight text wrapped in the {% highlight %} template tags. The
{% highlight %} tag provides minimal options: you can specify the language to
use and whether to enable line numbers or not. More information is available in
the Jekyll docs.
Command Line
Rouge ships with a rougify command which allows you to easily highlight files
in your terminal:
$ rougify foo.rb
$ rougify foo.rb -t monokai.sublime
$ rougify style monokai.sublime > syntax.css
Configuration
Formatters
Rouge comes with a number of formatters built-in but as of Rouge 2.0, you are
encouraged to write your own formatter if you need something custom.
The built-in formatters are:
-
Rouge::Formatters::HTML.newwill render your code with standard class names
for tokens, with no div-wrapping or other bells or whistles. -
Rouge::Formatters::HTMLInline.new(theme)will render your code with no class
names, but instead inline the styling options into thestyle=attribute.
This is good for emails and other systems where CSS support is minimal. -
Rouge::Formatters::HTMLLinewise.new(formatter, class: 'line-%i')will split
your code into lines, each contained in its own div. Theclassoption will
be used to add a class name to the div, given the line number. -
Rouge::Formatters::HTMLLineHighlighter.new(formatter, highlight_lines: [3, 5])
will split your code into lines and wrap the lines specified by the
highlight_linesoption in a span with a class name specified by the
highlight_line_classoption (default:hll). -
Rouge::Formatters::HTMLLineTable.new(formatter, opts={})will output an HTML
table containing numbered lines, each contained in its own table-row. Options
are:start_line: 1- the number of the first rowline_id: 'line-%i'- asprintftemplate foridattribute with
current line numberline_class: 'lineno'- a CSS class for each table-rowtable_class: 'rouge-line-table'- a CSS class for the tablegutter_class: 'rouge-gutter'- a CSS class for the line-number cellcode_class: 'rouge-code'- a CSS class for the code cell
-
Rouge::Formatters::HTMLPygments.new(formatter, css_class='codehilite')wraps
the given formatter with div wrappers generally expected by stylesheets
designed for Pygments. -
Rouge::Formatters::HTMLTable.new(formatter, opts={})will output an HTML
table containing numbered lines similar toRouge::Formatters::HTMLLineTable,
except that the table from this formatter has just a single table-row.
Therefore, while the table is more DOM-friendly for JavaScript scripting, long
code lines will mess with the column alignment. Options are:start_line: 1- the number of the first lineline_format: '%i'- asprintftemplate for the line number itselftable_class: 'rouge-table'- a CSS class for the tablegutter_class: 'rouge-gutter'- a CSS class for the guttercode_class: 'rouge-code'- a CSS class for the code column
-
Rouge::Formatters::HTMLLegacy.new(opts={})is a backwards-compatibility
class intended for users of Rouge 1.x, with options that were supported then.
Options are:inline_theme: nil- use an HTMLInline formatter with the given themeline_numbers: false- use an HTMLTable formatterwrap: true- use an HTMLPygments wrappercss_class: 'codehilite'- a CSS class to use for the Pygments wrapper
-
Rouge::Formatters::Terminal256.new(theme)is a formatter for generating
highlighted text for use in the terminal.thememust be an instance of
Rouge::Theme, or aHashstructure with:themeentry. -
Rouge::Formatters::TerminalTruecolor.new(theme)is similar to the previous,
except it outputs ANSI truecolor codes, instead of approximating with a 256-color
scheme. -
Rouge::Formatters::Tex.newis a formatter for TeX systems which wraps each
token with an\RG{toktype}{text}tag. You can then use
rougify style mystyle --tex
to generate definitions for these tags and the surrounding environment.
Writing your own HTML formatter
For the majority of applications, there are custom requirements for presenting
highlighted text, as HTML or otherwise. In these cases, rather than patching or
post-processing the output of Rouge, it is usually better to write your own
formatter.
This may sound intimidating, but it is actually quite easy! All you have to do
is subclass Rouge::Formatter, define a tag, and implement a method
#stream(tokens, &block), which receives an Enumerable of token/value pairs,
and yields out chunks of strings which will be concatenated.
The Formatter base class contains the helper method #token_lines(stream, &block),
which separates tokens into distinct lines, and Rouge::Formatters::HTML
contains the helper #span(token, value) to escape and render
standard <span> tags for HTML.
Alternatively, if you want to override how individual spans are rendered,
you can override #safe_span(token, safe_value), which will be passed the
token type and pre-escaped content for the token.
class MyFormatter < Rouge::Formatters::HTML
# this is the main entry method. override this to customize the behavior of
# the HTML blob as a whole. it should receive an Enumerable of (token, value)
# pairs and yield out fragments of the resulting html string. see the docs
# for the methods available on Token.
def stream(tokens, &block)
yield "<div class='my-outer-div'>"
tokens.each do |token, value|
# for every token in the output, we render a span
yield span(token, value)
end
yield "</div>"
end
# or, if you need linewise processing, try:
def stream(tokens, &block)
token_lines(tokens).each do |line_tokens|
yield "<div class='my-cool-line'>"
line_tokens.each do |token, value|
yield span(token, value)
end
yield "</div>"
end
end
# Override this method to control how individual spans are rendered.
# The value `safe_value` will already be HTML-escaped.
def safe_span(token, safe_value)
# in this case, "text" tokens don't get surrounded by a span
if token == Token::Tokens::Text
safe_value
else
"<span class=\"#{token.shortname}\">#{safe_value}</span>"
end
end
end
Lexer Options
-
debug: truewill print a trace of the lex on stdout. For safety, this only works ifRouge::Lexer.enable_debug!has been called. -
parent: ''allows you to specify which language the template is inside.
Theme Options
-
scope: '.highlight'sets the CSS selector to which styles are applied,
e.g.:Rouge::Themes::MonokaiSublime.render(scope: 'code')
Documentation
Rouge's documentation is available at rouge-ruby.github.io/docs/.
Requirements
Ruby
Rouge is compatible with all versions of Ruby from 3.0 onwards. It has no
external dependencies.
Encodings
Rouge only supports UTF-8 strings. If you'd like to highlight a string with a
different encoding, please convert it to UTF-8 first.
Integrations
- Middleman:
- middleman-syntax (@bhollis)
- middleman-rouge (@Linuus)
- RDoc: rdoc-rouge (@zzak)
- Rails: Rouge::Rails (@jacobsimeon)
Contributing
We're always excited to welcome new contributors to Rouge. By it's nature, a
syntax highlighter relies for its success on submissions from users of the
languages being highlighted. You can help Rouge by filing bug reports or
developing new lexers.
Everyone interacting in Rouge and its sub-projects' code bases is expected to
follow the Rouge Code of Conduct.
Bug Reports
Rouge uses GitHub's Issues to report bugs. You can choose from
one of our templates or create a custom issue. Issues that have not been active
for a year are automatically closed by GitHub's Probot.
Developing Lexers
NOTE: Please don't submit lexers that are copy-pasted from other files.
These submission will be rejected and we don't want you to waste your time.
We want to make it as easy as we can for anyone to contribute a lexer to Rouge.
To help get you started, we have a guide on lexer
development in the documentation. The best place is to start there.
If you get stuck and need help, submit a pull request with what you have and
make it clear in your submission that the lexer isn't finished yet. We'll do our
best to answer any questions you have and sometimes the best way to do that is
with actual code.
If your language is internal or obscure, or it is taking far too long to merge
into baseline Rouge, you can very easily write a plugin for language support.
Check out our plugin example repository for a good starting point.
Testing Rouge
Once you've cloned the repository from GitHub, you can test the core of Rouge
simply by running rake (no bundle exec required). You can also run a single
test file by setting the TEST environment variable to the path of the desired
test. For example, to test just the ruby lexer (located at path
spec/lexers/ruby_spec.rb) simply run the following:
TEST=spec/lexers/ruby_spec.rb rake
To test a lexer visually, run puma from the top-level working directory and
you should have a web server running and ready to go. Visit
http://localhost:9292 to see the full list of Rouge's lexers.
Once you've selected a particular lexer, you can add ?debug=1 to your URL
string to see a lot of helpful debugging info printed on stdout.
Maintainers
Rouge is largely the result of the hard work of unpaid volunteers. It was
originally developed by Jeanine Adkisson (@jneen) and is currently maintained by
Jeanine Adkisson, Drew Blessing (@dblessing), Goro Fuji (@gfx) and Tan Le
(@tancnle).
License
Rouge is released under the MIT license. Please see the LICENSE file for more
information.
Owner metadata
- Name: rouge-ruby
- Login: rouge-ruby
- Email:
- Kind: organization
- Description: syntax highlighting for ruby
- Website: https://rouge.jneen.net/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/50759896?v=4
- Repositories: 4
- Last ynced at: 2024-03-25T19:40:28.206Z
- Profile URL: https://github.com/rouge-ruby
GitHub Events
Total
- Release event: 5
- Delete event: 89
- Pull request event: 127
- Fork event: 46
- Discussion event: 2
- Issues event: 29
- Watch event: 80
- Issue comment event: 118
- Push event: 152
- Pull request review event: 37
- Pull request review comment event: 31
- Create event: 114
Last Year
- Release event: 2
- Delete event: 73
- Pull request event: 84
- Fork event: 16
- Discussion event: 2
- Issues event: 14
- Watch event: 28
- Issue comment event: 74
- Push event: 131
- Pull request review comment event: 25
- Pull request review event: 30
- Create event: 96
Committers metadata
Last synced: about 21 hours ago
Total Commits: 2,417
Total Committers: 468
Avg Commits per committer: 5.165
Development Distribution Score (DDS): 0.73
Commits in past year: 108
Committers in past year: 34
Avg Commits per committer in past year: 3.176
Development Distribution Score (DDS) in past year: 0.648
| Name | Commits | |
|---|---|---|
| Jay Adkisson | j****n@g****m | 653 |
| http://jneen.net/ | j****n@j****t | 280 |
| Michael Camilleri | m****e@i****t | 157 |
| Tan Le | t****e@h****m | 110 |
| FUJI Goro (gfx) | g****i@c****g | 51 |
| jjatria | j****a@g****m | 43 |
| Ashwin Maroli | a****i | 41 |
| radex | t****s@r****o | 28 |
| David Asabina | v****d@b****e | 27 |
| Konrad Rudolph | k****h@g****m | 25 |
| Andrew Lord | a****d@g****m | 17 |
| Alexander Belopolsky | a@e****m | 17 |
| Aaron | A****n@a****m | 16 |
| Dan Allen | d****n@g****m | 16 |
| nsfisis | 5****s | 16 |
| Matthias Kastner | m****r@b****e | 15 |
| Maximilian Haack | m****k@g****m | 13 |
| julp | e****6@g****m | 12 |
| Nicholas La Roux | l****n@g****m | 11 |
| Sacha Schmid | s****a@g****m | 11 |
| Drew Blessing | d****w@g****m | 10 |
| Gregory Malecha | g****a@g****m | 10 |
| Ivan Smirnov | i****v@g****m | 10 |
| KITAITI Makoto | K****o@g****m | 10 |
| Toto Tvalavadze | t****r@m****m | 10 |
| Drew Blessing | d****g | 10 |
| Knut Aldrin Wikström | k****n@g****m | 9 |
| mparnisari | m****i@g****m | 9 |
| Michael Baudino | m****o@a****m | 8 |
| Ole Begemann | o****e@o****t | 8 |
| and 438 more... | ||
Committer domains:
- me.com: 5
- gitlab.com: 4
- byte-physics.de: 3
- iki.fi: 2
- cubyx.fr: 2
- neopoly.de: 2
- mail.ru: 2
- mac.com: 2
- boostcom.no: 1
- packetzoom.com: 1
- pocke.me: 1
- shermdog.com: 1
- fb.com: 1
- segiddins.me: 1
- goharsha.com: 1
- gmx.de: 1
- glitchwrks.com: 1
- comcast.net: 1
- friendsoftheweb.com: 1
- nordman.org: 1
- nerro.eu: 1
- mek.dtu.dk: 1
- craigslist.org: 1
- keenlogics.com: 1
- borowski.pw: 1
- bytemark.co.uk: 1
- kaizenplatform.com: 1
- lexisnexis.com: 1
- davidtw.co: 1
- perceptyx.com: 1
- pivotal.io: 1
- durel.org: 1
- kivikakk.ee: 1
- ulsberg.no: 1
- avancore.ru: 1
- aguzik.net: 1
- adammcarthur.net: 1
- abevoelker.com: 1
- alyssa.is: 1
- kvalhe.im: 1
- smart-cactus.org: 1
- selenight.nl: 1
- echonolan.net: 1
- univ-grenoble-alpes.fr: 1
- onfido.com: 1
- ksi.mff.cuni.cz: 1
- riscosopen.org: 1
- adambard.com: 1
- purdue.edu: 1
- halirutan.de: 1
- student.tugraz.at: 1
- jayferd.us: 1
- nathany.com: 1
- sevenbyte.org: 1
- suschlik.de: 1
- oleb.net: 1
- alpine-lab.com: 1
- aaroneg.com: 1
- enlnt.com: 1
- getbusy.com: 1
- bina.me: 1
- radex.io: 1
- cpan.org: 1
- hey.com: 1
- inqk.net: 1
- kaworu.ch: 1
- camilstaps.nl: 1
- triple6.org: 1
- liu.se: 1
- amazon.com: 1
- arp242.net: 1
- thoughtbot.com: 1
- joelsplace.sg: 1
- edwardloveall.com: 1
- funnelback.com: 1
- carlossus.com: 1
- gmx.com: 1
- bartbroere.eu: 1
- whitequark.org: 1
- hokstad.com: 1
- noaa.gov: 1
- cryptosense.com: 1
- remedy.nl: 1
- rubychan.de: 1
- taye.me: 1
- cmbuckley.co.uk: 1
- vanpetegem.me: 1
- bernardosulzbach.com: 1
- brettdgibson.com: 1
- atlanmod.org: 1
- gavlock.dev: 1
- yahoo.com.ar: 1
- fprochazka.cz: 1
- intercom.io: 1
- mit.edu: 1
- 54hrs.com: 1
- aldreth.com: 1
- eml.cc: 1
- google.com: 1
- rovani.net: 1
- adobe.com: 1
- xmi.fr: 1
- fastmail.com: 1
- adjust.com: 1
- tpope.net: 1
- ucla.edu: 1
- shopify.com: 1
- 2pi.dk: 1
- opayq.com: 1
- elektronaut.no: 1
- maketea.co.uk: 1
- admingilde.org: 1
- manuel-hoffmann.info: 1
- muraoka-design.com: 1
- farend.jp: 1
- villani.me: 1
- lc-soft.io: 1
- fuller.li: 1
- kolesar.hu: 1
- justincampbell.me: 1
- jamietanna.co.uk: 1
- 163.com: 1
- mraw.org: 1
- cormacrelf.net: 1
- legnitto.com: 1
- cjohansen.no: 1
- chrisdown.name: 1
- russelldunphy.com: 1
- aol.de: 1
- 2-45.pm: 1
- rramsden.ca: 1
- raphink.net: 1
- ralfj.de: 1
- coverify.com: 1
- alexanderweiss.nl: 1
- docuamtrix.com: 1
- u.northwestern.edu: 1
- pivotallabs.com: 1
- logicians.slack.com: 1
- crs-iimotion.com: 1
- gocardless.com: 1
- mendix.com: 1
- nokia.com: 1
- bitmessage.ch: 1
- gunpowderlabs.com: 1
- lockmail.us: 1
- metronomix.com: 1
- orm-tech.com: 1
- phoebus.ca: 1
- gja.in: 1
- blom.tv: 1
- voucoux.fr: 1
- oketchup.co.uk: 1
- booking.com: 1
- physik.hu-berlin.de: 1
- netscape.net: 1
- jrenner.net: 1
- sorrel.sh: 1
- c-01a.de: 1
- guillaumin.me: 1
- bou.io: 1
- nixpulvis.com: 1
- michaeljherold.com: 1
- mjb.io: 1
- softpixel.com: 1
- daschek.net: 1
- profitware.ru: 1
- azarkin.dev: 1
- saagarjha.com: 1
- jneen.net: 1
Issue and Pull Request metadata
Last synced: about 21 hours ago
Total issues: 117
Total pull requests: 397
Average time to close issues: over 1 year
Average time to close pull requests: 7 months
Total issue authors: 101
Total pull request authors: 165
Average comments per issue: 1.54
Average comments per pull request: 1.4
Merged pull request: 220
Bot issues: 0
Bot pull requests: 0
Past year issues: 14
Past year pull requests: 100
Past year average time to close issues: 2 months
Past year average time to close pull requests: 17 days
Past year issue authors: 12
Past year pull request authors: 36
Past year average comments per issue: 1.21
Past year average comments per pull request: 1.17
Past year merged pull request: 50
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- UlyssesZh (6)
- verhovsky (4)
- jneen (3)
- Sayrus (3)
- nsfisis (2)
- zenspider (2)
- tancnle (2)
- juner (2)
- bsmithgall (1)
- OverShifted (1)
- phil-blain (1)
- eiswind (1)
- Erotemic (1)
- spcbfr (1)
- nicoa (1)
Top Pull Request Authors
- tancnle (105)
- jneen (36)
- nsfisis (16)
- verhovsky (6)
- bartbroere (5)
- arp242 (5)
- Bond-009 (4)
- gerardbm (4)
- theshadowco (4)
- UlyssesZh (4)
- Timmmm (4)
- pyrmont (3)
- X-Guardian (3)
- ivellapillil (3)
- dunkmann00 (3)
Top Issue Labels
- bugfix-request (58)
- lexer-request (25)
- enhancement-request (13)
- pr-open (9)
- docs-request (8)
- stale-issue (5)
- feature (2)
Top Pull Request Labels
- needs-review (40)
- author-action (25)
- discussion-open (3)
- lexer-request (2)
- other-dependency (1)
- dependent-pr (1)
Package metadata
- Total packages: 14
-
Total downloads:
- rubygems: 584,209,511 total
- Total docker downloads: 1,598,700,196
- Total dependent packages: 285 (may contain duplicates)
- Total dependent repositories: 468,218 (may contain duplicates)
- Total versions: 449
- Total maintainers: 5
gem.coop: rouge
Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
- Homepage: http://rouge.jneen.net/
- Documentation: http://www.rubydoc.info/gems/rouge/
- Licenses: MIT,BSD-2-Clause
- Latest release: 4.7.0 (published 4 months ago)
- Last Synced: 2026-04-27T14:30:30.335Z (3 days ago)
- Versions: 140
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 292,155,243 Total
- Docker Downloads: 799,350,098
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.053%
- Downloads: 0.094%
- Docker downloads count: 0.117%
- Maintainers (4)
alpine-v3.23: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.6.1-r0 (published 5 months ago)
- Last Synced: 2026-04-15T01:04:02.558Z (16 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.196%
- Forks count: 0.337%
- Stargazers count: 0.446%
- Maintainers (1)
rubygems.org: rouge
Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
- Homepage: http://rouge.jneen.net/
- Documentation: http://www.rubydoc.info/gems/rouge/
- Licenses: MIT,BSD-2-Clause
- Latest release: 4.7.0 (published 4 months ago)
- Last Synced: 2026-04-27T06:01:04.042Z (3 days ago)
- Versions: 140
- Dependent Packages: 282
- Dependent Repositories: 468,217
- Downloads: 292,054,268 Total
- Docker Downloads: 799,350,098
-
Rankings:
- Dependent repos count: 0.036%
- Downloads: 0.11%
- Dependent packages count: 0.152%
- Docker downloads count: 0.165%
- Average: 0.323%
- Stargazers count: 0.633%
- Forks count: 0.84%
- Maintainers (4)
alpine-v3.18: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.1.2-r0 (published almost 3 years ago)
- Last Synced: 2026-04-09T04:00:38.815Z (22 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 1.652%
- Forks count: 2.409%
- Stargazers count: 4.199%
- Maintainers (1)
alpine-edge: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.6.1-r0 (published 5 months ago)
- Last Synced: 2026-04-11T20:05:37.237Z (19 days ago)
- Versions: 13
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 3.51%
- Stargazers count: 4.109%
- Average: 5.565%
- Dependent packages count: 14.641%
- Maintainers (1)
proxy.golang.org: github.com/rouge-ruby/rouge
- Homepage:
- Documentation: https://pkg.go.dev/github.com/rouge-ruby/rouge#section-documentation
- Licenses: other
- Latest release: v4.7.0+incompatible (published 4 months ago)
- Last Synced: 2026-04-26T03:04:25.525Z (5 days ago)
- Versions: 138
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 1.033%
- Stargazers count: 1.197%
- Average: 5.652%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
alpine-v3.15: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 3.26.1-r1 (published over 4 years ago)
- Last Synced: 2026-04-11T22:03:43.659Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 1.917%
- Stargazers count: 3.033%
- Average: 7.634%
- Dependent packages count: 25.585%
- Maintainers (1)
alpine-v3.16: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 3.28.0-r1 (published about 4 years ago)
- Last Synced: 2026-04-11T22:04:04.722Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 1.919%
- Stargazers count: 3.17%
- Average: 8.1%
- Dependent packages count: 27.311%
- Maintainers (1)
alpine-v3.17: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.0.0-r0 (published over 3 years ago)
- Last Synced: 2026-04-11T22:05:12.819Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 2.139%
- Stargazers count: 3.795%
- Average: 8.297%
- Dependent packages count: 27.254%
- Maintainers (1)
conda-forge.org: rb-rouge
- Homepage: https://rubygems.org/gems/rouge
- Licenses: MIT
- Latest release: 3.16.0 (published about 6 years ago)
- Last Synced: 2026-04-02T23:25:21.650Z (28 days ago)
- Versions: 7
- Dependent Packages: 3
- Dependent Repositories: 1
-
Rankings:
- Forks count: 6.049%
- Stargazers count: 7.093%
- Average: 13.212%
- Dependent packages count: 15.618%
- Dependent repos count: 24.088%
alpine-v3.21: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.5.1-r0 (published over 1 year ago)
- Last Synced: 2026-04-11T22:04:34.609Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.22: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.5.2-r0 (published 12 months ago)
- Last Synced: 2026-04-11T22:04:24.629Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.20: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.2.1-r0 (published about 2 years ago)
- Last Synced: 2026-04-11T22:04:53.037Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.19: ruby-rouge
A pure Ruby code highlighter that is compatible with Pygments
- Homepage: https://github.com/rouge-ruby/rouge
- Licenses: MIT AND BSD-2-Clause
- Latest release: 4.2.1-r0 (published about 2 years ago)
- Last Synced: 2026-04-02T23:25:28.960Z (28 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
Dependencies
- actions/checkout v3 composite
- fernandrone/linelint master composite
- ruby/setup-ruby v1 composite
- github-markup >= 0 development
- pry >= 0 development
- shotgun >= 0 development
- sinatra >= 0 development
- git >= 0
- memory_profiler >= 0
- minitest >= 5.0
- minitest-power_assert >= 0
- power_assert ~> 1.2
- rake >= 0
- redcarpet >= 0
- rubocop ~> 1.0, <= 1.11
- rubocop-performance >= 0
- yard >= 0
Score: 35.860283658864866