# HTML processing & CSS styling

16 projects, most used and most active first. 1 of them builds on MkDocs NG in the weekly [compatibility test](https://github.com/mkdocs-ng/mkdocs/actions/workflows/compat.yml).

Data from 2026-11-01.

## minify

A mkdocs plugin to minify the HTML of a page before it is written to disk.

- **Install:** `pip install mkdocs-minify-plugin`
- **Plugin:** `minify`
- :lucide-badge-check: **Builds on MkDocs NG** in the [weekly compatibility test](https://github.com/mkdocs-ng/mkdocs/actions/workflows/compat.yml)
- :lucide-star: 195 · :lucide-download: 714k/month · :lucide-clock: last commit 2024-01-29 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/byrnereese/mkdocs-minify-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-minify-plugin/)

> [!WARNING]
> No commits since 2024-01-29. Check that it still fits your setup.

## minify-html

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

- **Install:** `pip install mkdocs-minify-html-plugin`
- **Plugin:** `minify_html`
- :lucide-star: 13 · :lucide-download: 35k/month · :lucide-clock: last commit 2026-11-01 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/monosans/mkdocs-minify-html-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-minify-html-plugin/)

## enumerate-headings

MkDocs Plugin to enumerate the headings across site pages.

- **Install:** `pip install mkdocs-enumerate-headings-plugin`
- **Plugin:** `enumerate-headings`
- :lucide-star: 48 · :lucide-download: 21k/month · :lucide-clock: last commit 2026-10-05 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/timvink/mkdocs-enumerate-headings-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-enumerate-headings-plugin/)

## Publisher for MkDocs - minifier

Size optimization (minification) for HTML, CSS, JS, SVG, PNG and JPEG files.

- **Install:** `pip install mkdocs-publisher`
- **Plugin:** `pub-minifier`
- :lucide-star: 130 · :lucide-download: 4.2k/month · :lucide-clock: last commit 2025-11-26 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/mkdocs-publisher/mkdocs-publisher) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-publisher/)

## Publisher for MkDocs - social

Social media sharing helper.

- **Install:** `pip install mkdocs-publisher`
- **Plugin:** `pub-social`
- :lucide-star: 130 · :lucide-download: 4.2k/month · :lucide-clock: last commit 2025-11-26 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/mkdocs-publisher/mkdocs-publisher) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-publisher/)

## add-number

MkDocs plugin to automatically number the headings (h1-h6) in each markdown page and the nav.

- **Install:** `pip install mkdocs-add-number-plugin`
- **Plugin:** `add-number`
- :lucide-star: 19 · :lucide-download: 4.5k/month · :lucide-clock: last commit 2020-06-11 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/ignorantshr/mkdocs-add-number-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-add-number-plugin/)

> [!WARNING]
> No commits since 2020-06-11. Check that it still fits your setup.

## mkdocs-extra-sass-plugin

Adds stylesheets to your mkdocs site from Sass/SCSS.

- **Install:** `pip install mkdocs-extra-sass-plugin`
- **Plugin:** `extra-sass`
- :lucide-star: 5 · :lucide-download: 5.7k/month · :lucide-clock: last commit 2021-02-13 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/orzih/mkdocs-extra-sass-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-extra-sass-plugin/)

> [!WARNING]
> No commits since 2021-02-13. Check that it still fits your setup.

## mkdocs-link-embeds

Mkdocs plugin which displays links in a more elegant way. Links will automatically be populated with an image,..

- **Install:** `pip install mkdocs-link-embeds-plugin`
- **Plugin:** `link-embeds`
- :lucide-star: 13 · :lucide-download: 445/month · :lucide-clock: last commit 2025-05-04 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/Aetherinox/mkdocs-link-embeds) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-link-embeds-plugin/)

> [!WARNING]
> No commits since 2025-05-04. Check that it still fits your setup.

## toggle-sidebar

Toggle the navigation and/or TOC sidebars on your MkDocs site.

- **Install:** `pip install mkdocs-toggle-sidebar-plugin`
- **Plugin:** `toggle-sidebar`
- :lucide-star: 12 · :lucide-download: 9.8k/month · :lucide-clock: last commit 2026-08-18 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/six-two/mkdocs-toggle-sidebar-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-toggle-sidebar-plugin/)

## mkdocs_safe_text

Plugin for safe text editing with MKDocs.

- **Install:** `pip install mkdocs-safe-text-plugin`
- **Plugin:** `mkdocs_safe_text`
- :lucide-star: 3 · :lucide-download: 323/month · :lucide-clock: last commit 2024-07-22 · :lucide-scale: BSD-2-Clause
- [:brand-github: GitHub](https://github.com/raimon49/mkdocs-safe-text-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-safe-text-plugin/)

> [!WARNING]
> No commits since 2024-07-22. Check that it still fits your setup.

## mkdocs-add-teaser

An MkDocs plugin to customize the first paragraph of your pages, and to use it as the pages meta description.

- **Install:** `pip install mkdocs-add-teaser`
- **Plugin:** `mkdocs-add-teaser`
- :lucide-star: 4 · :lucide-download: 321/month · :lucide-clock: last commit 2022-11-08 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/wilhelmer/mkdocs-add-teaser) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-add-teaser/)

> [!WARNING]
> No commits since 2022-11-08. Check that it still fits your setup.

## bootstrap-tables

A MkDocs plugin to add bootstrap classes to plan markdown generated tables.

- **Install:** `pip install mkdocs-bootstrap-tables-plugin`
- **Plugin:** `bootstrap-tables`
- :lucide-star: 13 · :lucide-download: 952/month · :lucide-clock: last commit 2020-03-27 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/byrnereese/mkdocs-bootstrap-tables-plugin) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-bootstrap-tables-plugin/)

> [!WARNING]
> No commits since 2020-03-27. Check that it still fits your setup.

## MkDocs Pygments

Highlighting themes for code blocks.

- **Plugin:** `pygments`
- :lucide-star: 8 · :lucide-clock: last commit 2026-10-23 · :lucide-scale: ISC
- [:brand-github: GitHub](https://github.com/pawamoy/mkdocs-pygments)

## mkdocs-ai-summary

A mkdocs plugin to generage summary with the help of AI.

- **Install:** `pip install mkdocs-ai-summary`
- **Plugin:** `ai-summary`
- :lucide-star: 11 · :lucide-download: 208/month · :lucide-clock: last commit 2026-09-23 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/AIboy996/mkdocs-ai-summary) · [:brand-pypi: PyPI](https://pypi.org/project/mkdocs-ai-summary/) · [Homepage](https://aiboy996.github.io/mkdocs-ai-summary/)

## mk-append-to-head

Append some string to a MkDocs pages head.

- **Install:** `pip install mk-append-to-head`
- **Plugin:** `mk-append-to-head`
- :lucide-download: 30/month · :lucide-clock: last commit 2025-08-18 · :lucide-scale: MIT
- [:brand-github: GitHub](https://github.com/marcelaodev/mk-append-to-head) · [:brand-pypi: PyPI](https://pypi.org/project/mk-append-to-head/)

> [!WARNING]
> No commits since 2025-08-18. Check that it still fits your setup.

## docstyler

Plugin to add alternative stylesheets to MkDocs custom themes.

- **Plugin:** `docstyler`
- :lucide-star: 1 · :lucide-clock: last commit 2019-02-16 · :lucide-scale: BSD-3-Clause
- [:brand-github: GitHub](https://github.com/hfagerlund/mkdocs-docstyler-plugin)

> [!WARNING]
> No commits since 2019-02-16. Check that it still fits your setup.
