jekyll-prettier

Post-render hooks for cleaning up Jekyll outputs with prettier. Really basic — this README is longer than the plugin itself.

Written as an alternative to jekyll-tidy, which uses htmlbeautifier under-the-hood. Key distinctions:


Installation

In your site Gemfile, add:

group :jekyll_plugins do
  gem "jekyll-prettier"
end

Dependencies

Requires that prettier is installed and in the PATH.

Can be installed with npm:

npm install --global prettier

or with Yarn:

yarn global add prettier