wbzyl/rack-codehighlighter — pull request #2 by jclem (2011-12-12 17:48:10+00:00)
Title: Separate Pygments.rb and Rygments

I've separated Pygments.rb and Rygments—mostly for the fact that as far as I can tell, Rygments does not allow taking advantage of Pygments' full set of options (i.e. line numbers). I've added the ability to specify an `options` hash when using Pygments.rb that gets passed directly to Pygments, for example:

```ruby
use Rack::Codehighlighter, :pygments, :markdown => true, :element => "pre>code", :pattern => /\A:::(\w+)\s*(\n|
)/i, :logging => true, :options => { :linenos => 'table' }
```