# Adding a table to your post using markdown

**URL:** https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544
**Category:** Using Discourse
**Tags:** tutorial
**Created:** [July 20, 2017, 7:58pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544 "2017-07-20T19:58:37Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [July 27, 2021, 1:38pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/28 "2021-07-27T13:38:17Z")

</div>

Hi, creating tables in Discourse composer is easy. Just create a table in [Typora](https://typora.io/) or in another amazing markdown editor, and then copy and paste the whole table into your post. Don’t forget to use `<br>` as line breaker in your awesome table 🙂 .

Typora is free until is in beta status.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [February 12, 2023, 9:00pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/30 "2023-02-12T21:00:57Z")

</div>

If you find creating tables to be a common task on your Discourse instance, you might be interested in this Theme Component, which provides a simple GUI:

[https://github.com/discourse/discourse-table-builder](https://github.com/discourse/discourse-table-builder)

(I’d add this to the top post in the topic, but it’s not a wiki…)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [March 29, 2023, 2:33am UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/32 "2023-03-29T02:33:37Z")

</div>

i don’t know if it was mentioned but it’s super easy to do this by copying and pasting from Excel or Google Sheets. it does the markup for you when you paste into the text box. i work with sports stats a lot and i work between Discourse and spreadsheet apps often and have made large data tables in posts. i’ve also copied PDF tables into my posts this way (using a spreadsheet app in-between).

---

<div class="post-metadata">

### Author: ![mxa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mxa/32/172707_2.png) [@mxa](https://meta.discourse.org/u/mxa)
#### Post date: [April 2, 2024, 12:46pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/33 "2024-04-02T12:46:32Z")

</div>

What do I do with that snippet?  
EDIT: Found it. [Making custom CSS changes on your site](https://meta.discourse.org/t/make-css-changes-on-your-site/168101)

---

<div class="post-metadata">

### Author: ![idontexist](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@idontexist](https://meta.discourse.org/u/idontexist)
#### Post date: [April 14, 2024, 11:56pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/34 "2024-04-14T23:56:24Z")

</div>

How do I make it with only 2 options

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 14, 2024, 11:58pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/35 "2024-04-14T23:58:11Z")

</div>

You can click on the table and delete rows and columns if you have more than you want.

---

<div class="post-metadata">

### Author: ![Stardrifter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stardrifter/32/506661_2.png) [@Stardrifter](https://meta.discourse.org/u/Stardrifter)
#### Post date: [June 9, 2025, 7:09pm UTC](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/36 "2025-06-09T19:09:30Z")

</div>

I’m attempting to paste a spreadsheet (from Google sheets) that contains links, but the links are lost, and I am left with plain text in the resulting table. Is there a way to preserve/convert the links?

In this screenshot, the link is shown and is clickable, but the cell value is simply text which is likely the source of the issue.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/3/a/93a90dd94fb26cc78fbf1d3aef216808c9e15c9c.png)

Any workarounds to preserve the links when copy/pasting from Sheets? Thanks.

Edit: Copying and pasting it into a Gmail draft and then to Discourse works, though I don’t love that workaround.

[Previous page](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544.md?page=1)
