Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Official Plugin
View plugin on GitHub


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.

© 2022 Gatsby, Inc.