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
105 stars 17 forks source link

How to make sortable table work with table reader plugin? #64

Closed rajdevworks closed 1 week ago

rajdevworks commented 2 weeks ago

I'm using read_csv to read from a csv file in mkdocs material project. How can enable sorting on the columns for the table generated after reading the csv?

timvink commented 2 weeks ago

See https://squidfunk.github.io/mkdocs-material/reference/data-tables/#sortable-tables