Registry / utility / pygments-rb

pygments-rb

JSON →
library4.0.0rbrubygemsunverified

pygments.rb is a Ruby wrapper for Pygments syntax highlighter.

gem install pygments.rb
INSTALL
IMPORT
SIG · PYGMENTS-RB
P
pygments-rb
utilityrubyv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pygments
require 'pygments'

Highlight Ruby code using Pygments

require 'pygments' puts Pygments.highlight('puts "Hello"', lexer: 'ruby')
Debug
Known issues
gotchaRequires Python and Pygments to be installed on the system
fix
Install Python and Pygments via pip install Pygments
affects: >= 0.0.0
Upgrade
Version history
4.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
pygments-rb — gem install pygments-rb · libregistry