Path to this page:
./
www/ruby-pygments.rb,
Pygments wrapper for ruby
Branch: pkgsrc-2021Q2,
Version: 2.2.0,
Package name: ruby26-pygments.rb-2.2.0,
Maintainer: pkgsrc-users# pygments.rb
A Ruby wrapper for the Python [pygments syntax
highlighter](http://pygments.org/).
pygments.rb works by talking over a simple pipe to a long-lived Python child
process. This library replaces
[github/albino](https://github.com/github/albino), as well as a version of
pygments.rb that used an embedded Python interpreter.
Each Ruby process that runs has its own 'personal Python'; for example, 4
Unicorn workers will have one Python process each. If a Python process dies,
a new one will be spawned on the next pygments.rb request.
Master sites:
SHA1: d44490d57246db6d8040743b71f99e9840498e4b
RMD160: 2da93e2710d0c6ea0cc714a5968fcc489b4ea2cc
Filesize: 864.5 KB
Version history: (Expand)
- (2021-07-01) Package added to pkgsrc.se, version ruby26-pygments.rb-2.2.0 (created)