What is Mkdocs-Macros
masterMkdocs-Macros is a plugin and mini-framework for MkDocs that transforms Markdown pages into Jinja2 templates. It allows contributors to use variables, macros (Python functions), and filters directly within .md files. It can also replace standard MkDocs plugins for tasks like navigation manipulation or post-generation file handling.
Note: The Jinja2 engine used by Mkdocs-Macros is specifically for Markdown pages and is distinct from the Jinja2 engine used by MkDocs for HTML themes.