Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3
  • PyPI
  • Socket score

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:

python -m 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:
      do_not_minify_doctype: true
      ensure_spec_compliant_unquoted_attribute_values: true
      keep_closing_tags: false
      keep_html_and_head_opening_tags: false
      keep_spaces_between_attributes: true
      keep_comments: false
      keep_input_type_text_attr: true
      keep_ssi_comments: false
      preserve_brace_template_syntax: false
      preserve_chevron_percent_template_syntax: false
      minify_css: true
      minify_js: true
      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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc