Registry / utility / pygmentize

pygmentize

JSON →
library0.0.3rbrubygemsunverified

A Ruby gem that vendors Pygments, a syntax highlighter written in Python.

gem install pygmentize
INSTALL
IMPORT
SIG · PYGMENTIZE
P
pygmentize
utilityrubyv0.0.3
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.

Pygmentize
require 'pygmentize'

Highlight Ruby code using Pygments.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pygmentize — gem install pygmentize · libregistry