Skip to Content

Tables

The Ghost offers a straightforward method for creating simple tables. Additionally, the Aspect theme provides a way to use responsive tables.

Simple Table

To create a simple table in Ghost, use Markdown syntax to define your table. For example:

| Header 1 | Header 2 | Header 3 | |----------|----------|----------| | Row 1 | Data 1 | Data 2 | | Row 2 | Data 3 | Data 4 |

Responsive Table

To make a table responsive, add a wrapper div around the table with the class responsive-table. For example:

<div class="responsive-table"> | Header 1 | Header 2 | Header 3 | |----------|----------|----------| | Row 1 | Data 1 | Data 2 | | Row 2 | Data 3 | Data 4 | </div>