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
117 stars 20 forks source link

Add a `read_yaml` function #17

Closed timvink closed 3 years ago

timvink commented 3 years ago

Would be nice to convert .yml files to markdown tables.

For the function itself, we can use pd.io.json.json_normalize, see: https://stackoverflow.com/a/35968457/5525118

timvink commented 3 years ago

Released in v0.5, thanks @nejch !