Skip to content

Commit

Permalink
switch to textile
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Oct 3, 2008
1 parent 647643e commit 0deeadf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-wiki.rb
Expand Up @@ -7,7 +7,7 @@
grit
haml
sass
bluecloth).each { |dependency| require dependency }
redcloth).each { |dependency| require dependency }

begin
require 'thin'
Expand All @@ -17,7 +17,7 @@

class String
def to_html
BlueCloth.new(self).to_html
RedCloth.new(self).to_html
end

def linkify
Expand Down Expand Up @@ -130,7 +130,7 @@ def commit_message

configure do
GitRepository = ENV['GIT_WIKI_REPO'] || File.join(ENV['HOME'], 'wiki')
PageExtension = '.markdown'
PageExtension = '.textile'
Homepage = 'Home'
set_option :haml, :format => :html4,
:attr_wrapper => '"'
Expand Down

0 comments on commit 0deeadf

Please sign in to comment.