-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a GitHub gist extension #829
Comments
From what I see, the work has started in https://github.com/jmadler/amphtml/tree/amp-github |
@jmadler Can you give an update on the status of this? |
@jmadler have you managed to get this to work? |
Quick update, I just learned that you can append ".pibb" to any Gist url, which will render the contents directly in HTML (interestingly, without head but who cares). This makes it viable to use amp-iframe to insert Gists into a page, but we still don't know the resulting height. Thoughts? |
Hello, is this up for grabs? If so, I would like to give it a shot :) |
Go for it!
…On Thu, Mar 16, 2017, 12:48 PM Levi Durfee ***@***.***> wrote:
Hey guys, is this up for grabs? If so, I would like to give it a shot :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#829 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACn_K-ZqOfzNutdL0VhQqebCg6wOlHJks5rmJTbgaJpZM4GZ1x_>
.
|
Background
The AMP HTML library includes many extended components that bring third-party functionality as first-class components in AMP.
Motivation
We like to introduce a new component to integrate Github gist in AMP. This would allow developers to include their code from Github in their AMP pages.
Implementation strategy
<amp-gist data-src="https://gist.github.com/cramforce/c5d8ae62be229291e421.js"></amp-gist>
.3p/github.js
also very similar to3p/twitter.js
. The JS loading can be simpler in the initial version (Just insert the script tag)Step by step
closes Issue #829
in the description.Once approved, your changes will be merged. ⚡⚡⚡Congrats on making your first contribution to the AMP Project!⚡⚡⚡ You'll be able to see it live across the web soon!
Thanks, and we hope to see more contributions from you soon.
Questions?
If you have questions ask in this issue or on your Pull Request (mentioning @aghassemi) or see the How to get help section of the Getting Started guide.
The text was updated successfully, but these errors were encountered: