Skip to content

Commit

Permalink
chore(style guide): Fix table formatting (#17450)
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-schaefer committed May 24, 2024
1 parent bf0c093 commit 1aea3d8
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions src/content/docs/style-guide/structure/tables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,29 @@ The Keyboard Maestro macro for the Table component is `kktable`

## Table syntax

Our tables are built as MDX React components. In practice, they're quite similar to HTML tables::
Our tables are built as MDX React components. In practice, they're quite similar to HTML tables:

```html
<table>
<thead>
<tr>
<th style={{ width: "200px" }}>
**Item**
</th>

<th>
**Description**
</th>
</tr>
</thead>
<thead>
<tr>
<th style={{ width: "200px" }}>
**Item**
</th>
<th>
**Description**
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Item name
</td>
<td>
Description of item
</td>
</tr>
<tr>
<td>
Item name
</td>
<td>
Description of item
</td>
</tr>
</tbody>
</table>
```
Expand Down

0 comments on commit 1aea3d8

Please sign in to comment.