Award-Winning Fjords Thomas Reynolds

Middleman Feature: Config.rb can setup Rack middleware

Did you know that since Middleman's config.rb is evaluated by Sinatra that it can initialize Rack middleware?

In the code sample below, I use the rack-codehighlighter middleware to add syntax highlighting to a Middleman project.