No commit activity in last 3 years
No release in over 3 years
Remove indent from build files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.6
>= 1.5
~> 2.5.0
>= 1.3
>= 0

Runtime

>= 4.0
 Project Readme

middleman-remove-indent

Gem Version Build Status

middleman-remove-indent is an extension of Middleman.
This extension remove indent from build files (ex: .html, .css).

Installation

Add this line to your application's Gemfile:

gem 'middleman-remove-indent'

And then execute:

$ bundle

Or install it yourself as:

$ gem install middleman-remove-indent

Usage

In config.rb:

configure :build do
  activate :remove_indent
end

Then middleman-remove-indent remove indent from build/\*.html, build/\*.css.
if you want to remove indent only .html, you could change :exts option:

configure :build do
  activate :remove_indent, :exts => %w(.html) # default:  %w(.html .css)
end

if you want to remove BLANK LINE too, you could do with `:remove_blank_line' option:

configure :build do
  activate :remove_indent, :remove_blank_line => true # default: false
end

Contributing

  1. Fork it ( http://github.com/yterajima/middleman-remove-indent/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request