Skip to content
Merged
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
24 changes: 20 additions & 4 deletions content/components/table.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
author: Mark Dumay
title: Table
date: 2024-08-14
date: 2026-06-17
description: Use the table shortcode to make your Markdown table responsive.
type: docs
tags: component
Expand All @@ -25,9 +25,25 @@ Use the table shortcode to make your markdown table responsive. Responsive table
{{</* table */>}}
| # | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
|----|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| 1. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
| 2. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
| 3. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
| 1. | cell | cell | cell | cell | cell | cell | cell | cell | cell |
| 2. | cell | cell | cell | cell | cell | cell | cell | cell | cell |
| 3. | cell | cell | cell | cell | cell | cell | cell | cell | cell |
{{</* /table */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 MD058 -->

### Table wrapping

Set `wrap=true` to wrap the last column around on smaller viewports.

<!-- markdownlint-disable MD037 MD058 -->
{{< example lang="markdown" >}}
{{</* table wrap=true */>}}
| # | Heading | Heading | Wrapped |
|----|---------|---------|-----------------------------------------------------------------------|
| 1. | cell | cell | Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| 2. | cell | cell | Nunc pretium, diam non euismod tincidunt, odio libero feugiat ligula. |
| 3. | cell | cell | Cras eu odio sit amet lectus efficitur accumsan. |
{{</* /table */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 MD058 -->
Expand Down