How To Install mkdocs-markdownextradata-plugin on Fedora 36

In this tutorial we learn how to install mkdocs-markdownextradata-plugin in Fedora 36. mkdocs-markdownextradata-plugin is MkDocs plugin that injects mkdocs.yml extra variables

Introduction

In this tutorial we learn how to install mkdocs-markdownextradata-plugin on Fedora 36.

What is mkdocs-markdownextradata-plugin

A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template Use case As a user with variables that need to be inserted at the markdown level, not the template level. I need a mkdocs plugin that will inject my “extras” variables into the markdown template before it gets rendered to html. So that I can build my markdown pages with different values for images, urls, client_names, etc.

We can use yum or dnf to install mkdocs-markdownextradata-plugin on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mkdocs-markdownextradata-plugin.

Install mkdocs-markdownextradata-plugin on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mkdocs-markdownextradata-plugin using dnf by running the following command:

sudo dnf -y install mkdocs-markdownextradata-plugin

Install mkdocs-markdownextradata-plugin on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mkdocs-markdownextradata-plugin using yum by running the following command:

sudo yum -y install mkdocs-markdownextradata-plugin

How To Uninstall mkdocs-markdownextradata-plugin on Fedora 36

To uninstall only the mkdocs-markdownextradata-plugin package we can use the following command:

sudo dnf remove mkdocs-markdownextradata-plugin

mkdocs-markdownextradata-plugin Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/markdownextradata
/usr/lib/python3.10/site-packages/markdownextradata/__init__.py
/usr/lib/python3.10/site-packages/markdownextradata/__pycache__
/usr/lib/python3.10/site-packages/markdownextradata/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/markdownextradata/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/markdownextradata/__pycache__/plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/markdownextradata/__pycache__/plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/markdownextradata/plugin.py
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info/LICENSE.md
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info/METADATA
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info/WHEEL
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/mkdocs_markdownextradata_plugin-0.2.5.dist-info/top_level.txt
/usr/share/doc/mkdocs-markdownextradata-plugin
/usr/share/doc/mkdocs-markdownextradata-plugin/CONTRIBUTING.md
/usr/share/doc/mkdocs-markdownextradata-plugin/README.md
/usr/share/licenses/mkdocs-markdownextradata-plugin
/usr/share/licenses/mkdocs-markdownextradata-plugin/LICENSE.md

References

Summary

In this tutorial we learn how to install mkdocs-markdownextradata-plugin on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).