Sha256: eecdc68c5291a8e241eb96effe43d7b8060a2fdc8ca0c7bba65be9c9aca2c905

Contents?: true

Size: 453 Bytes

Versions: 39

Compression:

Stored size: 453 Bytes

Contents

require "stylus"
require "stylus/tilt"

module Middleman
  module Renderers

    # Sass renderer
    module Stylus

      # Setup extension
      class << self

        # Once registered
        def registered(app)
          # Default less options
          app.set :styl, {}

          app.before_configuration do
            template_extensions :styl => :css
          end
        end

        alias :included :registered
      end

    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
middleman-core-3.2.1 lib/middleman-core/renderers/stylus.rb
middleman-core-3.2.0 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.6 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.5 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.4 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.3 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.2 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.1 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.rc.4 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.rc.3 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.rc.2 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.rc.1 lib/middleman-core/renderers/stylus.rb
middleman-core-x86-mingw32-3.0.14 lib/middleman-core/renderers/stylus.rb
middleman-core-3.0.14 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.beta.3 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.beta.2 lib/middleman-core/renderers/stylus.rb
middleman-core-3.1.0.beta.1 lib/middleman-core/renderers/stylus.rb
middleman-core-x86-mingw32-3.0.13 lib/middleman-core/renderers/stylus.rb
middleman-core-3.0.13 lib/middleman-core/renderers/stylus.rb