From 7549299d5387bfe2b6855621ba7da8487d0f7a8a Mon Sep 17 00:00:00 2001 From: Laurie Barth Date: Fri, 3 Apr 2020 08:55:00 -0400 Subject: [PATCH 1/4] Improve README for twitter plugin --- packages/gatsby-plugin-twitter/README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/gatsby-plugin-twitter/README.md b/packages/gatsby-plugin-twitter/README.md index f725fa9fda08a..49230bf8b9c64 100644 --- a/packages/gatsby-plugin-twitter/README.md +++ b/packages/gatsby-plugin-twitter/README.md @@ -3,16 +3,22 @@ Loads the Twitter JavaScript for embedding tweets, timelines, share and follow buttons. Lets you add tweets to markdown and in other places. -Note: when copying the embed code, just copy the blockquote section and not the -script. - ## Install -`npm install --save gatsby-plugin-twitter` +```shell +npm install gatsby-plugin-twitter +``` -## How to use +## Configure ```javascript // In your gatsby-config.js plugins: [`gatsby-plugin-twitter`] ``` + +## How to Use + +1. Find the tweet you'd like to display on twitter +2. In the top right-hand corner of the tweet click the carrot 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. From bae65dc5ac8fb8a65d1f8ca357d24df9fe98fa06 Mon Sep 17 00:00:00 2001 From: LB Date: Mon, 6 Apr 2020 10:18:14 -0400 Subject: [PATCH 2/4] Update packages/gatsby-plugin-twitter/README.md Co-Authored-By: Aisha Blake --- packages/gatsby-plugin-twitter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-twitter/README.md b/packages/gatsby-plugin-twitter/README.md index 49230bf8b9c64..0d792d4676210 100644 --- a/packages/gatsby-plugin-twitter/README.md +++ b/packages/gatsby-plugin-twitter/README.md @@ -18,7 +18,7 @@ plugins: [`gatsby-plugin-twitter`] ## How to Use -1. Find the tweet you'd like to display on twitter +1. On Twitter, find the tweet you'd like to display. 2. In the top right-hand corner of the tweet click the carrot 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. From cbee49586be2f4dfb2db012d593eba8d7eef7971 Mon Sep 17 00:00:00 2001 From: LB Date: Mon, 6 Apr 2020 10:18:34 -0400 Subject: [PATCH 3/4] Update packages/gatsby-plugin-twitter/README.md Co-Authored-By: Aisha Blake --- packages/gatsby-plugin-twitter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-twitter/README.md b/packages/gatsby-plugin-twitter/README.md index 0d792d4676210..334ed045c7e09 100644 --- a/packages/gatsby-plugin-twitter/README.md +++ b/packages/gatsby-plugin-twitter/README.md @@ -19,6 +19,6 @@ 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 carrot and select "Embed tweet" +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. From 17ae0073c5552a5227348083d299ba1b19464376 Mon Sep 17 00:00:00 2001 From: LB Date: Mon, 6 Apr 2020 10:19:04 -0400 Subject: [PATCH 4/4] Update packages/gatsby-plugin-twitter/README.md Co-Authored-By: Aisha Blake --- packages/gatsby-plugin-twitter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-twitter/README.md b/packages/gatsby-plugin-twitter/README.md index 334ed045c7e09..5048cf676c868 100644 --- a/packages/gatsby-plugin-twitter/README.md +++ b/packages/gatsby-plugin-twitter/README.md @@ -20,5 +20,5 @@ plugins: [`gatsby-plugin-twitter`] 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 +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.