Implement tables and expose styles for addHtml function