Skip to content

brentyi/jekyll-prettier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages