# Runnable repl.it embed

**URL:** https://meta.discourse.org/t/runnable-repl-it-embed/54522
**Category:** Support
**Created:** [December 20, 2016, 12:01am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522 "2016-12-20T00:01:04Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ossia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ossia/32/215651_2.png) [@ossia](https://meta.discourse.org/u/ossia)
#### Post date: [December 20, 2016, 12:01am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/1 "2016-12-20T00:01:04Z")

</div>

We would like to be able to embed runnable Repl.it embeds like [this one](https://repl.it/Dn6S?lite=true).

Repl.it supports embedding and documents this here: [https://repl.it/site/docs/embed](https://repl.it/site/docs/embed)

But since embed uses an iframe, Discourse seems to suppress it. Is there a way we could somehow whitelist this so people could include runnable code snippets in their posts?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 20, 2016, 12:09am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/2 "2016-12-20T00:09:13Z")

</div>

We recommend codepen instead, which should already work.

---

<div class="post-metadata">

### Author: ![ossia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ossia/32/215651_2.png) [@ossia](https://meta.discourse.org/u/ossia)
#### Post date: [December 20, 2016, 1:24am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/3 "2016-12-20T01:24:33Z")

</div>

We’re using CodePen heavily elsewhere within Free Code Camp’s community, but it only works for JavaScript (and doesn’t have a REPL).

REPL.it works for a wide variety of programming languages. How can we get REPL.it embeds to work?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 20, 2016, 1:26am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/4 "2016-12-20T01:26:29Z")

</div>

> [@ossia](#):
>
> How can we get REPL.it embeds to work?

You would either need to make a plugin for it, or send through a PR to the onebox gem to optionally allow this embedding (default off)

---

<div class="post-metadata">

### Author: ![ossia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ossia/32/215651_2.png) [@ossia](https://meta.discourse.org/u/ossia)
#### Post date: [December 20, 2016, 3:24am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/5 "2016-12-20T03:24:51Z")

</div>

OK - thanks for clarifying. I will reach out to REPL.it and see if they can add themselves to OneBox.

---

<div class="post-metadata">

### Author: ![Amjad\_Masad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amjad_masad/32/65611_2.png) [@Amjad\_Masad](https://meta.discourse.org/u/Amjad_Masad)
#### Post date: [December 28, 2016, 1:24am UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/6 "2016-12-28T01:24:16Z")

</div>

PR: [Add Repl.it onebox by amasad · Pull Request #334 · discourse/onebox · GitHub](https://github.com/discourse/onebox/pull/334)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 13, 2019, 5:43pm UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/7 "2019-04-13T17:43:42Z")

</div>



---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 13, 2019, 9:47pm UTC](https://meta.discourse.org/t/runnable-repl-it-embed/54522/8 "2019-04-13T21:47:07Z")

</div>


