Embed tweet
Embed tweet
A plugin for Reveal.js allowing to easily embed tweets in your slides.
Installation
Copy the files embed-tweet.js
into the plugin folder of your reveal.js presentation, i.e. plugin/embed-tweet
.
Add the plugins to the dependencies in your presentation, as below.
Reveal.initialize({
// ...
dependencies: [
// ...
{ src: 'plugin/embed-tweet/embed-tweet.js' },
// ...
]
});
Usage
To embed a tweet, simply determine its URL and include the following code in your slides:
<div class="tweet" data-src="TWEET_URL"></div>
License
MIT licensed
Copyright (C) 2017 Asvin Goel