From ce74af8c6333aaaabe024fc46c6c7b191cd64f54 Mon Sep 17 00:00:00 2001 From: dgash Date: Fri, 5 Feb 2016 12:16:28 -0800 Subject: [PATCH] Copy edit Spelling, grammar, punctuation, markdown formatting; no significant content changes. --- extensions/amp-twitter/amp-twitter.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/amp-twitter/amp-twitter.md b/extensions/amp-twitter/amp-twitter.md index 836d7dd7af12..ed453d3f9e78 100644 --- a/extensions/amp-twitter/amp-twitter.md +++ b/extensions/amp-twitter/amp-twitter.md @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -### `amp-twitter` +## `amp-twitter` Displays a Twitter Tweet. @@ -27,16 +27,16 @@ Example: ``` -**CAVEATS** +### Caveat -Twitter does not currently provide an API that yields fixed aspect ratio Tweet embeds. We currently automatically proportionally scale the Tweet to fit the provided size, but this may yield less than ideal appearance. Authors may need to manually tweak the provided width and height. You may also use the `media` attribute to select the aspect ratio based on screen width. We are looking for feedback how feasible this approach is in practice. +Twitter does not currently provide an API that yields fixed aspect ratio Tweet embeds. We currently automatically proportionally scale the Tweet to fit the provided size, but this may yield less than ideal appearance. Authors may need to manually tweak the provided width and height. You may also use the `media` attribute to select the aspect ratio based on screen width. We are looking for feedback on how feasible this approach is in practice. -#### Attributes +### Attributes **data-tweetid** -The ID of the tweet. In a URL like https://twitter.com/joemccann/status/640300967154597888 `640300967154597888` is the tweetID. +The ID of the tweet. In a URL like `https://twitter.com/joemccann/status/640300967154597888`, "640300967154597888" is the tweet ID. **data-nameofoption** -Options for the Tweet appearance can be set using `data-` attributes. E.g. `data-cards="hidden"` deactivates Twitter cards. For documentation of the available options, see [Twitter's docs](https://dev.twitter.com/web/javascript/creating-widgets#create-tweet). +Options for the Tweet appearance can be set using `data-` attributes; e.g., `data-cards="hidden"` deactivates Twitter cards. For documentation of the available options, see [Twitter's docs](https://dev.twitter.com/web/javascript/creating-widgets#create-tweet).