Usage
{{< tbody [text = "Table body content"] [inner = "Row content"] >}}Must be used inside a table partial, contains tr partials with table data
Description
Creates an HTML tbody element that contains the main data rows of a table. This is where your actual table content goes, wrapped in tr (table row) partials.
Parameters
indicates required parameter
text =
"string"
Primary tbody content (processed with markdownify)
inner =
"string"
Additional tbody content (processed with markdownify)
Examples
Basic table body with data rows
{{< table >}}
{{< tbody >}}
{{< tr >}}
{{< td >}}John{{< /td >}}
{{< td >}}Developer{{< /td >}}
{{< /tr >}}
{{< tr >}}
{{< td >}}Jane{{< /td >}}
{{< td >}}Designer{{< /td >}}
{{< /tr >}}
{{< /tbody >}}
{{< /table >}}Table body with markdown-formatted content
{{< table >}}
{{< tbody >}}
{{< tr >}}
{{< td >}}**Important Note**{{< /td >}}
{{< td >}}
- Point 1
- Point 2
- Point 3
{{< /td >}}
{{< /tr >}}
{{< /tbody >}}
{{< /table >}}Markdown lists and formatting work perfectly in table cells
Table body with included content
{{< table >}}
{{< tbody >}}
{{< tr >}}
{{< td >}}API Documentation{{< /td >}}
{{< td >}}{{<hw t="include" from="api-docs.md">}}{{< /td >}}
{{< /tr >}}
{{< /tbody >}}
{{< /table >}}Use shortcodes to include external content in table cells
Additional Information