Embed notebooks here

I remember there was a way to embed the notebook into the message, but pasting notebook URL doesn’t do this… aaand, there is no control in the element bar.


Maybe it could be added?h

1 Like

I guess you mean like this:

That’s generated by pasting the iframe code into the forum editor. In this case, we’re talking about this code:

<iframe width="100%" height="102" frameborder="0"

Typically, you get that code from the embed option in the notebook:

1 Like

Thanks. Now I remember. :man_facepalming: :smiley:

But that’s still inconvenient. I wouldn’t have to ask if Discourse could be tuned to automatically expand Observable links into the <iframe>.

The Discourse part that expands links is called Onebox and there is even a plugin to do just that - expand links to iframe.