rosscdh / mkdocs-markdownextradata-plugin

A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template
MIT License
84 stars 17 forks source link

Inject some of the base variables into context #5

Closed RealOrangeOne closed 5 years ago

RealOrangeOne commented 5 years ago

This also always renders the templates with jinja.

This slightly extends the use of the project, as it now opens up the content to the additional powers of jinja (includes, iteration, etc etc), as content is always run through rather than only when the configuration exists, meaning it can be relied upon.

Update: Actually, including doesn't work, but still.

rosscdh commented 5 years ago

love it great addition thank you +1