Loads the Twitter JavaScript for embedding tweets, timelines, share and follow buttons. Lets you add tweets to markdown and in other places.


npm install gatsby-plugin-twitter


// In your gatsby-config.js
plugins: [`gatsby-plugin-twitter`]

How to Use

  1. On Twitter, find the tweet you’d like to display.
  2. In the top right-hand corner of the tweet, click the caret (∨) and select “Embed tweet”.
  3. Take the code you’re given and copy it into your markdown page.

    Note: when copying the embed code, copy only the blockquote section and not the script.