Support Github Gist embed codes
GitHub provides embed codes for Gists in this form, <script src="file.js"></script>. Slides throws an error when you try to use the script tag in an iframe. I didn't try editing the HTML of a text block but I am assuming this would also flag the same rule. It would be great to include these Gists as elements in addition to the code blocks in slides.
-
Tim commented
Why isn't this possible? This is a critical feature (at least for a group of users that will create presentations that include code)
-
Mycard Statement commented
Not much help to you at the moment but I can attest that Articulate are working on this.
https://mycardstatement.buzz/ -
Craft commented
Click the embed button on your GitHub Gist. ...
Select the share option and copy the GitHub Gists shareable link.
Go to Bit.ai and paste the Github Gists weblink on a blank line and hit enter.
Bit will automatically fetch the GitHub Gist and display it like this. -
Anonymous commented
Embed a gist in an iframe reference: https://gist.github.com/Albert-W/e37d1c4fa30c430c37d7b1b1fe9b60d8
-
Anonymous commented
<iframe
width="100%"
height="350"
src="data:text/html;charset=utf-8,
<head><base target='_blank' /></head>
<body><script src='https://gist.github.com/Albert-W/e37d1c4fa30c430c37d7b1b1fe9b60d8.js'></script>
</body>">
That code will allow the Gist to show in Slides. However, there is a persistent error message (src data flagged and removed).