Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mrdocs.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ grammar
element table-row
{
element is-header { Bool }?,
element cells { TableCell }*
TableCell*
}

TableBlock =
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{#if items.[0].is_header}}[%header]
{{/if}}|===
{{#each items}}{{#each cells}}| {{> doc/inline-container }} {{/each}}
{{/each}}|===
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<table>
{{#each items}}<tr>
{{#each cells}}{{#if ../is_header}}<th>{{> doc/inline-container }}</th>{{else}}<td>{{> doc/inline-container }}</td>{{/if}}
{{/each}}</tr>
{{/each}}</table>
Loading
Loading