MkDocs Data Plugin¶
MkDocs Data Plugin is a plugin for MkDocs that allows reading data from markup files and use it in your Markdown pages.
Overview¶
When using this plugin, you can define data in YAML or JSON files in a separate directory and reference them in your Markdown pages.
Files in this directory can be referenced in your Markdown files using the data
variable.
- Apple
- Banana
- Strawberry
Supported Formats¶
The plugin supports the following file formats:
- JSON:
.json
- YAML:
.yml
,.yaml