# Getting Markdown for a post using API

**URL:** https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716
**Category:** Development
**Tags:** rest-api
**Created:** [September 3, 2024, 4:16pm UTC](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716 "2024-09-03T16:16:36Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [September 3, 2024, 4:18pm UTC](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716/2 "2024-09-03T16:18:26Z")

</div>

This #Customization > Theme component will add a raw button

> [@Raw Post Button](https://meta.discourse.org/t/raw-post-button/152542):
>
> discourse2Summary 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.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/raw-post-button)hammer_and_wrenchRepository Link [https://github.com/discourse/raw-post-button](https://github.com/discourse/raw-post-button)open_bookNew 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 Features Settings …

---

_[View the full topic](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716)._
