How do I embed other websites into my Discourse post?
You can embed other websites into your Discourse post using an iframe
. For example, I can include https://example.com/ here as follows:
<iframe width="100%" height=250 src="https://example.com/"></iframe>
And here’s the result:
Most Discourse instances impose restrictions on what you can and cannot embed. Discourse at Marks Math has a very liberal policy but there are still restrictions. For example, you can’t embed CNN because they have policies restricting its use. Here’s what happens, if you try:
Lot’s of sites provide content that is meant to be embedded. For example, here’s a Google Map showing the location of UNCA’s Flag Pole:
You don’t typically type in the code for that, rather you get it from they’re “Share” button.