Beautify your Spress HTML output
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
RattrapSpressHtmlBeautifier.php
composer.json

README.md

Beautify HTML

Spress 2 ready

Beautify your Spress HTML output

Inspired by spress-html-compress

How do I install it?

Go to your Spress site and add the following to your composer.json and run composer update:

"require": {
    "rattrap/spress-html-beautifier": "1.0.*"
}

How do I use it?

Add the following to your config.yml to exclude some files from minify/compress process:

html_beautifier_excluded: ['.htaccess', 'CNAME', 'robots.txt', 'crossdomain.xml', 'sitemap.xml', 'rss.xml']

And run the build command:

spress site:build