sablon
sablon copied to clipboard
Is it possible to specify the Word "Table Style" with an HTML <table>?
My application allows users to work with markdown which I run through a processor to produce HTML and then insert into a document via an html block. One particular user is adding an HTML table. The results are okay -- it appears as an unstyled table within the document. Because this is user-generated content, it is impossible to predict when a table is present.
Is there any way to tell Sablon which Word Table Style should be used? By "Word Table Style", I am referring to this set of styles
It would be great to support this via CSS class(es) on the table. I'd also be glad to set a table property, but I do not know which one to set.