Browse files

remove extensions

  • Loading branch information...
1 parent c1c1288 commit c234d5ed158630ccc8f0b9f03bf3a4cefe94216b @zzak committed Mar 19, 2013
Showing with 0 additions and 16 deletions.
  1. +0 −4 lib/glorify.rb
  2. +0 −12 lib/glorify/extensions.rb
View
4 lib/glorify.rb
@@ -1,6 +1,5 @@
require "sinatra/base"
require "glorify/css"
-require "glorify/extensions"
require "glorify/version"
require "glorify/renderer"
require "glorify/template"
@@ -17,12 +16,9 @@ module Sinatra
module Glorify
# Sinatra extension setup to configure the application.
#
- # Uses +settings.glorify_extensions+ for the Sinatra::Glorify::Renderer
- #
# Also, registers the Sinatra::Glorify::Helpers and provides the pygments
# stylesheet route using Sinatra::Glorify::Helpers.glorify_css.
def self.registered(app)
- app.set :glorify_extensions, Glorify::EXTENSIONS
app.helpers Glorify::Helpers
app.get '/pygments.css' do
View
12 lib/glorify/extensions.rb
@@ -1,12 +0,0 @@
-module Sinatra
- module Glorify
- # Helper for Sinatra::Glorify::Renderer default options.
- #
- # Configure in your application through +settings.glorify_extensions+
- EXTENSIONS = { :filter_html => true,
- :autolink => true,
- :no_intra_emphasis => true,
- :fenced_code_blocks => true
- }
- end
-end

0 comments on commit c234d5e

Please sign in to comment.