Skip to content

Conversation

@aepstein
Copy link
Contributor

@aepstein aepstein commented Feb 5, 2015

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:

'''
Table 1<br/>
Table shows some data
'''
Heading 1 | Heading 2
----------|-----------
Data 1    |Data 2

which renders to:

<table>
<caption>Table 1<br/>Table shows some data</caption>
<thead>....

Patch includes modified table tests to capture this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant