
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
mkdocs-minify-html-plugin
Advanced tools
MkDocs plugin for minification using minify-html, an extremely fast and smart HTML + JS + CSS minifier
MkDocs plugin for minification using minify-html, an extremely fast and smart HTML + JS + CSS minifier.
Install:
pip install -U mkdocs-minify-html-plugin
Activate in mkdocs.yml
:
plugins:
- search
- minify_html
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
FAQs
MkDocs plugin for minification using minify-html, an extremely fast and smart HTML + JS + CSS minifier
We found that mkdocs-minify-html-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.