wrap_html_tables#

technote.ext.wraptables.wrap_html_tables(app, exceptions=None)#

Wrap the HTML tables in a figure tag.

Having a wrapping element for a table in HTML allows us to constrain the width of the table and permit overflow scrolling. The alternative approach, setting the table to display: block loses the table’s accessibility (see https://www.tpgi.com/short-note-on-what-css-display-properties-do-to-table-semantics/).

Parameters:
Return type:

None