# Raw Post Button

**URL:** https://meta.discourse.org/t/raw-post-button/152542
**Category:** Theme component
**Tags:** official, raw-post-button
**Created:** [May 24, 2020, 9:08pm UTC](https://meta.discourse.org/t/raw-post-button/152542 "2020-05-24T21:08:06Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [May 24, 2020, 9:08pm UTC](https://meta.discourse.org/t/raw-post-button/152542/1 "2020-05-24T21:08:06Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **Raw Post Button** will add a button to the post menu. When you click the button, you’ll get a modal / popover with the raw (markdown) version of the post. |
| 👓 | **Preview** | [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/raw-post-button) |
| 🛠 | **Repository Link** | [https://github.com/discourse/raw-post-button](https://github.com/discourse/raw-post-button) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

> [@](#):
>
> :discourse2: As this is an #official theme component maintained by the Discourse team, #Support, #Contribute > Bug, #Contribute > UX, and #Contribute > Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&tags=raw-post-button "Ask for support on configuring and using Raw Post Button") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=raw-post-button "A bug report means something is broken, preventing normal/typical use of the theme component") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=raw-post-button "Discussion about the user interface of Raw Post Button, and how features are presented (including language and UI elements)") [💡&nbsp; **Feature**](https://meta.discourse.org/new-topic?category_id=2&tags=raw-post-button "Discussion about how existing Raw Post Button features can be improved or enhanced, and how proposed new features could work")

### Features

 ![post menu button](https://global.discourse-cdn.com/meta/original/3X/a/0/a049577cf9068215b77ac6edab0a26a4816edfcb.png)

 ![raw modal](https://global.discourse-cdn.com/meta/original/3X/1/5/15b31caedec9d686f3566db2a2e3610c756b4666.png)

### Settings

| Name | Description |
| --- | --- |
| min trust level | Minimum required trust level for the button to be visible in the post menu |

| Translation | Default |
| --- | --- |
| button\_title | Raw Post |

There’s only one setting and that setting is `min_trust_level`

 ![trust level setting](https://global.discourse-cdn.com/meta/original/3X/e/3/e31ee65d53adb3fa65ab57695875e5e3d2bbde04.png)

This setting allows you to set a minimum trust level the current user needs to have before they can see that button. It defaults to TL0. Anons will never see it.

### Credits

The idea for this component was [proposed](https://meta.discourse.org/t/more-than-two-levels-of-details/152421/5) by @EricGT 👍

  

> :discourse2: **Hosted by us?** Theme components are available to use on our Standard, Business, and Enterprise plans.

> Last edited by @JammyDodger 2024-06-13T22:44:35Z
> 
> > **Check document**
> >
> > Perform check on document:

---

_[View the full topic](https://meta.discourse.org/t/raw-post-button/152542)._
