github/gollum — pull request #257 by hulihanapplications (2011-12-23 03:26:36+00:00)
Title: Make default markup changeable through sinatra settings

This commit lets users change the default markup language of gollum by changing a new Precious::App sinatra setting called @default_markup@. Here's how you'd use this in @config.ru@:

```ruby
require 'rubygems'
require '../gollum/lib/gollum/frontend/app'

gollum_path = File.expand_path(File.dirname(__FILE__))

Precious::App.set(:gollum_path, gollum_path)
Precious::App.set(:default_markup, :textile)
run Precious::App
```