The table shortcode allows you to create styled HTML tables within your Hugo content. It supports custom headers, optional captions, and automatic styling for light/dark modes.
Usage
Basic Table
GO
1
2
3
4
5
{{< table headers="Name|Age|City" caption="My Table">}}John|25|New York
Jane|30|Los Angeles
Bob|28|Chicago
{{</table >}}