README.markdown in wbzyl-rack-codehighlighter-0.1.1 vs README.markdown in wbzyl-rack-codehighlighter-0.1.2
- old
+ new
@@ -3,11 +3,11 @@
The *Codehighlighter* gem provides a thin interface over a bunch
of exisitng code highlighters to make their usage as generic possible.
To install it, run:
- sudo gem install wbzyl-codehighlighter-middleware -s http://gems.github.com
+ sudo gem install wbzyl-rack-codehighlighter -s http://gems.github.com
Markup your code with:
<pre><code>:::ruby
...
@@ -17,13 +17,18 @@
# file simple.rb
require 'rubygems'
require 'sinatra'
+
+ gem 'coderay'
require 'coderay' # use the Coderay highlighter
gem 'wbzyl-sinatra-rdiscount'
- require 'wbzyl-codehighlighter-middleware'
+ require 'sinatra/rdiscount'
+
+ gem 'wbzyl-rack-codehighlighter'
+ require 'rack/codehighlighter'
use Rack::Codehighlighter, :coderay
get "/" do
erb :hello