Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

middleman-html-beautify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

middleman-html-beautify

bundlerRubygems
Version
0.1.0
Version published
Maintainers
1
Created
Source

Middleman::HtmlBeautify

Build Status

middleman-html-beautify is an extension for the Middleman static site generator that beautify HTML via HTML Beautifier.

Installation

Add this line to your application's Gemfile:

gem 'middleman-html-beautify'

And then execute:

$ bundle install

Usage

Add this line to your config.rb

activate :html_beautify

There are default settings.

activate :html_beautify do |option|
  option.keep_blank_lines = 0
  option.indent           = "  "
  option.initial_level    = 0
  option.stop_on_errors   = false
end

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 26 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts