New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mkdocs-minify-html-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdocs-minify-html-plugin

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

0.2.4
PyPI
Maintainers
1

mkdocs-minify-html-plugin

CI Downloads

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

Usage

Install:

pip install -U mkdocs-minify-html-plugin

Activate in mkdocs.yml:

plugins:
  - search
  - minify_html

Options

A description of all options is available in the minify_html docs.

The default plugin options are aimed at the best possible minification while maintaining compliance with the specification:

plugins:
  - search
  - minify_html:
      allow_noncompliant_unquoted_attribute_values: false
      allow_optimal_entities: false
      allow_removing_spaces_between_attributes: false
      keep_closing_tags: false
      keep_comments: false
      keep_html_and_head_opening_tags: false
      keep_input_type_text_attr: true
      keep_ssi_comments: false
      minify_css: true
      minify_doctype: false
      minify_js: true
      preserve_brace_template_syntax: false
      preserve_chevron_percent_template_syntax: false
      remove_bangs: false
      remove_processing_instructions: false

License

MIT

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts