{{ 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
"@context":
"@import": https://json-ld.org/contexts/dollar-convenience.jsonld
table: https://tables.iolanta.tech/
$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:
{{ render('plugins') }}
…as rendered via iolanta-tables.
Install iolanta-tables to reproduce this example!
pip install iolanta-tables