adam.paste.lol/embedding-a-paste.md 1 month ago

# Embedding a paste elsewhere

It’s easy to embed a paste into another web page (just like this one is embedded on https://home.omg.lol/info/pastebin).

To do it, just copy and paste this markup:

`<iframe style="width: 100%; height: 20em;" frameborder="0" onload="this.height=this.contentWindow.document.body.scrollHeight" src="https://adam.paste.lol/embedding-a-paste.md/embed"></iframe>`

You’ll want to change the `src` value to your own paste. Just make sure that it ends with `/embed` so you get the embeddable view.