|
27 | 27 | Trying to embed well known services (like [CodePen][codepen], |
28 | 28 | [CodeSandbox][codesandbox], [GIPHY][giphy], [Instagram][instagram], |
29 | 29 | [Lichess][lichess], [Pinterest][pinterest], [Slides][slides], |
30 | | -[SoundCloud][soundcloud], [Spotify][spotify], [Streamable][streamable], |
31 | | -[Twitch][twitch], [Twitter][twitter] or [YouTube][youtube]) into your |
32 | | -[Gatsby][gatsby] website can be hard, since you have to know how this needs to |
33 | | -be done for all of these different services. |
| 30 | +[SoundCloud][soundcloud], [Spotify][spotify], [Streamable][streamable], [Testing |
| 31 | +Playground][testing-playground], [Twitch][twitch], [Twitter][twitter] or |
| 32 | +[YouTube][youtube]) into your [Gatsby][gatsby] website can be hard, since you |
| 33 | +have to know how this needs to be done for all of these different services. |
34 | 34 |
|
35 | 35 | ## This solution |
36 | 36 |
|
37 | 37 | `gatsby-remark-embedder` tries to solve this problem for you by letting you just |
38 | | -copy-paste the link to the gif/pen/pin/player/post/sandbox/tweet/video you want |
39 | | -to embed right from within your browser onto a separate line (surrounded by |
40 | | -empty lines) and replace it with the proper embed-code. |
| 38 | +copy-paste the link to the |
| 39 | +gif/pen/pin/player/playground/post/sandbox/tweet/video you want to embed right |
| 40 | +from within your browser onto a separate line (surrounded by empty lines) and |
| 41 | +replace it with the proper embed-code. |
41 | 42 |
|
42 | 43 | ## Table of Contents |
43 | 44 |
|
@@ -563,6 +564,32 @@ https://streamable.com/moo |
563 | 564 |
|
564 | 565 | </details> |
565 | 566 |
|
| 567 | +### Testing Playground |
| 568 | + |
| 569 | +#### Usage |
| 570 | + |
| 571 | +```md |
| 572 | +https://testing-playground.com/gist/1750787c77ae724da475efd788230104/6d090f5501deedc70a97ff52260ccc22a6248414 |
| 573 | +``` |
| 574 | + |
| 575 | +<details> |
| 576 | +<summary><b>Result</b></summary> |
| 577 | + |
| 578 | +```html |
| 579 | +<iframe |
| 580 | + src="https://testing-playground.com/embed/1750787c77ae724da475efd788230104/6d090f5501deedc70a97ff52260ccc22a6248414?panes=preview,result" |
| 581 | + height="300" |
| 582 | + width="100%" |
| 583 | + scrolling="no" |
| 584 | + frameborder="0" |
| 585 | + allowTransparency="true" |
| 586 | + title="Testing Playground" |
| 587 | + style="overflow: hidden; display: block; width: 100%" |
| 588 | +></iframe> |
| 589 | +``` |
| 590 | + |
| 591 | +</details> |
| 592 | + |
566 | 593 | ### Twitch |
567 | 594 |
|
568 | 595 | Twitch embeds can only be embedded on HTTPS websites. Check out [the Gatsby |
@@ -860,6 +887,7 @@ Thanks goes to these people ([emoji key][emojis]): |
860 | 887 |
|
861 | 888 | <!-- markdownlint-enable --> |
862 | 889 | <!-- prettier-ignore-end --> |
| 890 | + |
863 | 891 | <!-- ALL-CONTRIBUTORS-LIST:END --> |
864 | 892 |
|
865 | 893 | This project follows the [all-contributors][all-contributors] specification. |
|
915 | 943 | [soundcloud]: https://soundcloud.com |
916 | 944 | [spotify]: https://spotify.com |
917 | 945 | [streamable]: https://streamable.com |
| 946 | +[testing-playground]: https://testing-playground.com |
918 | 947 | [twitch]: https://twitch.tv |
919 | 948 | [twitter]: https://twitter.com |
920 | 949 | [twitter-widget-javascript-docs]: https://developer.twitter.com/en/docs/twitter-for-websites/javascript-api/overview |
|
0 commit comments