0.0
No release in over 3 years
Low commit activity in last 3 years
Jekyll (Ruby static website generator) plugin that runs prettier on generated outputs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.8
 Project Readme

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

  1. If using Bundler (recommended); in Gemfile:
group :jekyll_plugins do
  gem "jekyll-prettier"
end
  1. Alternatively, in _config.yml:
plugins:
  - jekyll-prettier

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