Community Plugin
View plugin on GitHubgatsby-remark-youtube
gatsby-remark-youtube is a Gatsby remark plugin to embed youtube videos with links.
Usage
- Download gatsby-remark-youtubefrom the NPM registry:
yarn add gatsby-remark-youtube- Add the plugin in your gatsby-config.jsfile
require("dotenv").config()
module.exports = {
    plugins: [
        {
            resolve: "gatsby-transformer-remark",
            options: {
                plugins: [
                    "gatsby-remark-youtube",
                    "gatsby-remark-responsive-iframe",
                ],
            },
        },
    ],
}- Add youtube video links to your content
[YOUTUBE EMBED: my video](https://www.youtube-nocookie.com/embed/VIDEO_ID)
[embed: my video](https://www.youtube.com/embed/VIDEO_ID)Text need to contains “embed” to be transformed
Contributing
- ⇄ Pull/Merge requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.