Registry / utility / albino

albino

JSON →
library1.3.3rbrubygemsunverified

Ruby wrapper for Pygments syntax highlighter.

gem install albino
INSTALL
IMPORT
SIG · ALBINO
A
albino
utilityrubyv1.3.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.

Albino
require 'albino'

Highlight Ruby code using Pygments.

require 'albino' code = 'puts "Hello"' highlighted = Albino.colorize(code, :ruby) puts highlighted
Debug
Known issues
gotchaRequires Pygments to be installed on the system.
fix
Install Pygments via pip: `pip install pygments`.
affects: >= 0
Upgrade
Version history
1.3.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
26
Meta
1
Amazon
1
OpenAI (training)
1
Resources
albino — gem install albino · libregistry