timvink / mkdocs-table-reader-plugin

MkDocs plugin that enables a markdown tag like {{ read_csv('table.csv') }} to directly insert various table formats into a page
https://timvink.github.io/mkdocs-table-reader-plugin/
MIT License
111 stars 18 forks source link

Add configuration error for markdownextradata before table-reader, closes #20 #21

Closed G3rtjan closed 2 years ago

G3rtjan commented 2 years ago

Added ConfigurationError for wrong plugin order, similar to the resolve for #14

timvink commented 2 years ago

Awesome, thanks !

timvink commented 2 years ago

This currently fails on badly formatted tags (in https://github.com/timvink/mkdocs-table-reader-plugin/blob/master/tests/fixtures/basic_setup/docs/bad_tags.md) like {{read_csv()}} (no spaces). Problem is, that is still valid jinja2 template.

Either I remove those bad tags from the tests, or I implement jinja2 somehow