tablib
tablib copied to clipboard
Export HTML with Optional Class
Just wondering where would be the right place to put such an optional argument so that the exported HTML has a class attribute in the <table> tag.
I'm thinking of __init__ of Dataset class.
It is not possible to configure exporters with current API.
I have a branch https://github.com/kennethreitz/tablib/tree/import_export with some ideas about how to do it.
Check the issue #46 for more information.
You still have to change the HTML exporter to make it work.
Awesome @iurisilvio I'll check that branch out to understand better what #46 is about (seems highly relavent) and hopefully contribute some ideas and codez