Replies: 1 comment
-
i think i found the answer in the 'advanced usage' section of the documentation:
then later:
these parts of the documentation make me think that i cannot effect the general jinja2 rendering environment by adding a mkdocs_macros filter but please let me know if this is not correct. |
Beta Was this translation helpful? Give feedback.
-
can i change the jinja2 environment using this plugin?
use case:
i would like to be able to install a jinja2 extension and then use that extension in my custom mkdocs theme
details:
in particular i would like to install jinja2_markdown which adds an extra jinja2 tag
{% markdown %}
in that project's documentation it says i need to add the extension to the jinja2 environment like so:
does 'mkdocs_macros_plugin' make sense for this use case? i am not super experienced with plugins/jinja2 so i wanted to check before getting too deep into it
Beta Was this translation helpful? Give feedback.
All reactions