Last active
June 23, 2023 16:41
-
-
Save sundbry/5e0507d93d4c89023b2ba5f39f27f722 to your computer and use it in GitHub Desktop.
Embed a Github Ggist in an iframe (without <script> tags in your document)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe frameborder=0 | |
style="min-width: 200px; width: 60%; height: 460px;" | |
scrolling="no" | |
seamless="seamless" | |
srcdoc='<html><body><style type="text/css">.gist .gist-data { height: 400px; }</style><script src="https://gist.github.com/sundbry/5e0507d93d4c89023b2ba5f39f27f722.js"></script></body></html>' | |
></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seamless is no longer supported by all browsers. So this will likely not embed it maximised.