mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Recordsets in HTML Output mode #173

Closed mbakeranalecta closed 6 years ago

mbakeranalecta commented 6 years ago

Currently, HTML Output Mode handles recordsets like this:


<table class="recordset" data-conditions="a,b" id="id6" data-name="name" lang="en-CA">
<tr class="record"><th class="record">foo</th><th class="record">bar</th><tr class="record">
<td class="foo">a</td>
<td class="bar">b</td>
</tr>
<tr class="record">
<td class="foo">c</td>
<td class="bar">d</td>
</tr>
</table>

``` 
It outputs the field names as header text. This is probably not what the author wants. It would be preferable to allow them to set the headers through a stylesheet. This would mean providing the field names as data. This might look like:

    <th class="record-set-field" data-field-name="foo"></th>
mbakeranalecta commented 6 years ago

Implemented in 3e9b8f6fd8cddf9cbedb25c44ab48323216ce71e.