ossia
(Quincy Larson)
20 ديسمبر 2016، 12:01ص
1
We would like to be able to embed runnable Repl.it embeds like this one .
Repl.it supports embedding and documents this here: 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?
إعجاب واحد (1)
We recommend codepen instead, which should already work.
ossia
(Quincy Larson)
20 ديسمبر 2016، 1:24ص
3
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?
sam
(Sam Saffron)
20 ديسمبر 2016، 1:26ص
4
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)
5 إعجابات
ossia
(Quincy Larson)
20 ديسمبر 2016، 3:24ص
5
OK - thanks for clarifying. I will reach out to REPL.it and see if they can add themselves to OneBox.
إعجاب واحد (1)