MkDocs Material Extensions

1.3.1 · deprecated · verified Sun Apr 05

This library, `mkdocs-material-extensions`, provides an extension pack for Python Markdown specifically designed to work with the MkDocs Material theme. As of version 1.3 (released November 2023), this project is deprecated and considered obsolete because its core logic has been integrated directly into `mkdocs-material` (version 9.4 and above). Users are strongly advised to migrate to the equivalent functionalities provided by `mkdocs-material` itself. It primarily facilitated inline SVG icons and emoji handling within MkDocs Material documentation.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates the *deprecated* configuration of `mkdocs-material-extensions` in your `mkdocs.yml` file, primarily for enabling inline SVG icons and emoji. The library is now obsolete, and its functionality is integrated directly into `mkdocs-material`. The commented section shows the required changes to migrate your configuration to `mkdocs-material` versions 9.4 and above.

# mkdocs.yml (Deprecated configuration for mkdocs-material-extensions)
markdown_extensions:
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg

# --- MIGRATION PATH for MkDocs Material v9.4+ (mkdocs.yml) ---
# Remove `mkdocs-material-extensions` from your project dependencies.
# Update your mkdocs.yml to use the native extensions provided by mkdocs-material:
# markdown_extensions:
#   - pymdownx.emoji:
#       emoji_index: !!python/name:material.extensions.emoji.twemoji
#       emoji_generator: !!python/name:material.extensions.emoji.to_svg

view raw JSON →