# 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:** 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:** 6

<div class="post-metadata">

### Author: ![sarahann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sarahann/32/96703_2.png) [@sarahann](https://meta.discourse.org/u/sarahann)
#### Post date: [June 6, 2018, 9:12pm UTC](https://meta.discourse.org/t/how-to-add-a-class-attribute-to-a-table-created-using-markdown/84338/6 "2018-06-06T21:12:35Z")

</div>

Hey Jeff,

I noticed in the /admin portal that moderators and admins have the same CSS classes (on the body and in the content).

I was hoping to add a class to the HTML body tag stating if a user is a moderator or an admin so that I could hide some functionality for moderators. I was following eviltrout’s comment [Profile - eviltrout - Discourse Meta](https://meta.discourse.org/u/eviltrout)) [Developing Discourse Plugins - Part 2 - Connect to a plugin outlet - #22 by sarahann](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-2-plugin-outlets/31001/22)

> [@codinghorror](#):
>
> This is not possible at the current time. Allowing arbitrary html is a security risk.

Does this mean that I cannot add additional classes to Discourse’s UI?

---

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