{"library":"mkdocs-markdownextradata-plugin","title":"MkDocs Markdown Extra Data Plugin","description":"A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template, also supporting external data files via jinja2 templating. Current version 0.2.6, requires Python >=3.6, maintained with sporadic releases.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install mkdocs-markdownextradata-plugin"],"cli":null},"imports":["from mkdocs_markdownextradata_plugin import MarkdownExtraDataPlugin"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# mkdocs.yml\nplugins:\n  - markdownextradata:\n      data_source_folders: \"_data\"\n# Markdown file (e.g., index.md)\n# {{ extra['my_var'] }} or {{ my_var }} if defined in mkdocs.yml extras","lang":"python","description":"Enable the plugin in mkdocs.yml. Create a `_data` folder with YAML/JSON files (e.g., `_data/mydata.yaml`). Reference variables as `{{ mydata_key }}` in markdown.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}