Skip to content

Instantly share code, notes, and snippets.

@BenWard
Created May 9, 2013 23:52
Show Gist options
  • Save BenWard/5551494 to your computer and use it in GitHub Desktop.
Save BenWard/5551494 to your computer and use it in GitHub Desktop.
Expanded version of the Twitter embed code that includes static Tweet actions using Web Intents. (Won't actually initialize as a JavaScript embed due to a parsing assumption on our part, but I'll fix that when I get a chance.)
<blockquote class="twitter-tweet" cite="https://twitter.com/mroth/status/332642087713521664">
<p>Best practices for nicely embedding a static tweet in a GitHub README.md? (Twitter's embed code obviously won't work due to SCRIPT tags.)</p>
<p>&mdash; Matthew Rothenberg (<a href="https://twitter.com/mroth/">@mroth</a>)
<a href="https://twitter.com/mroth/status/332642087713521664">May 9, 2013</a> &middot;
<a href="https://twitter.com/intent/tweet?in_reply_to=332642087713521664">Reply</a> &middot;
<a href="https://twitter.com/intent/retweet?tweet_id=332642087713521664">Retweet</a> &middot;
<a href="https://twitter.com/intent/favorite?tweet_id=332642087713521664">Favourite</a>
</p>
</blockquote>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment