{{ render }}
macro
On any Markdown page on your MkDocs site, you can now use render()
macro. For instance, here is a YAML file:
plugins.yaml
$id: plugins
table:columns:
- plugin
- description
table:rows:
- plugin:
rdfs:label: iolanta-tables
schema:url: https://iolanta.tech/tables/
description: Render HTML tables on your MkDocs site from YAML descriptions instead of clumsy Markdown markup
and here is a Markdown file:
{{ render('plugins') }}
That yields:
Plugin | Description |
---|---|
iolanta-tables | Render HTML tables on your MkDocs site from YAML descriptions instead of clumsy Markdown markup |
…as rendered via iolanta-tables.
Install iolanta-tables to reproduce this example!
pip install iolanta-tables