# Markdown Not Interpreted When Pulled from Page w/ Embedded Discussion

**URL:** <https://meta.discourse.org/t/markdown-not-interpreted-when-pulled-from-page-w-embedded-discussion/69307>\
**Category:** Feature\
**Created:** [4. September 2017 um 01:49 UTC](https://meta.discourse.org/t/markdown-not-interpreted-when-pulled-from-page-w-embedded-discussion/69307 "2017-09-04T01:49:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [18. Oktober 2017 um 01:12 UTC](https://meta.discourse.org/t/markdown-not-interpreted-when-pulled-from-page-w-embedded-discussion/69307/6 "2017-10-18T01:12:04Z")

</div>

This is not a bug but a feature request.

Currently we are assuming that the embedded content will be HTML, so the `cook_method` is set to `raw_html` as per [this code](https://github.com/discourse/discourse/blob/367fb1c524cff06a33c7a4144cd13a270a9f3489/app/models/topic_embed.rb#L64).

The better solution here is to add a new site setting to control `cook_method` for embedded topics.

#pr-welcome

---

_[View the full topic](https://meta.discourse.org/t/markdown-not-interpreted-when-pulled-from-page-w-embedded-discussion/69307)._
