A pelican plugin that makes the final output HTML more tidy using the Node.js library pretty
.
You will need to have Node.js installed along with the pretty
and minimist
libraries.
Add pelican-plugin-tidy-html
to your plugins list in pelicanconf.py
after installing.
-
yuicompressor
Pelican plugin: Used as a reference on how to obtain the output filepaths for the HTML files to use for post-processing. -
How to read and write a file in Node.js: Used when figuring out the proper way to read and write files using Node.js.
This plugin is released under the GNU AFFERO GENERAL PUBLIC LICENSE.