Skip to main content

MkDocs plugin for minification using minify-html, an extremely fast HTML + JS + CSS minifier

Project description

mkdocs-minify-html-plugin

CI Downloads

MkDocs plugin for minification using minify-html, an extremely fast HTML + JS + CSS minifier.

Usage

Install:

python -m pip install -U mkdocs-minify-html-plugin

Activate in mkdocs.yml:

plugins:
  - search
  - minify_html

Options

Example:

plugins:
  - search
  - minify_html:
      do_not_minify_doctype: false
      ensure_spec_compliant_unquoted_attribute_values: false
      keep_spaces_between_attributes: false

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_minify_html_plugin-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page