# How to add a class attribute to a table created using markdown

**URL:** <https://meta.discourse.org/t/how-to-add-a-class-attribute-to-a-table-created-using-markdown/84338>\
**Category:** Product Support\
**Created:** [April 1, 2018, 6:04pm UTC](https://meta.discourse.org/t/how-to-add-a-class-attribute-to-a-table-created-using-markdown/84338 "2018-04-01T18:04:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![W.M](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/w.m/32/93394_2.png) [@W.M](https://meta.discourse.org/u/W.M)\
**Post date:** [April 1, 2018, 6:04pm UTC](https://meta.discourse.org/t/how-to-add-a-class-attribute-to-a-table-created-using-markdown/84338/1 "2018-04-01T18:04:14Z")

</div>

I understand that it is possible to create a table like this:

```plaintext
| Col A | Col B | Col C |
|---|---|---|

```

My question, how to add a custom class attribute to the table? I mean, rendering it in `HTML` as, for example:

`<table class='shortcuts'>...</table>`

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-a-class-attribute-to-a-table-created-using-markdown/84338)._
