kramed
kramed copied to clipboard
Add table captioning to table syntax
In books, tables are generally accompanied by a caption. HTML specification is to have a caption tag right above the . Right now, to add a caption the whole table needs to be in HTML. This patch adds a markdown convention as follows:
which renders to: Patch includes modified table tests to capture this functionality.'''
Table 1<br/>
Table shows some data
'''
Heading 1 | Heading 2
----------|-----------
Data 1 |Data 2
<table>
<caption>Table 1<br/>Table shows some data</caption>
<thead>....