Gatsby is joining Netlify: Read the announcement post

ContactSign Up for Free
Community Plugin
View plugin on GitHub


Npm version Npm downloads MIT license PRs welcome

gatsby-remark-youtube is a Gatsby remark plugin to embed youtube videos with links.


  1. Download gatsby-remark-youtube from the NPM registry:
yarn add gatsby-remark-youtube
  1. Add the plugin in your gatsby-config.js file

module.exports = {
    plugins: [
            resolve: "gatsby-transformer-remark",
            options: {
                plugins: [
  1. Add youtube video links to your content
[YOUTUBE EMBED: my video](
[embed: my video](

Text need to contains “embed” to be transformed


  • ⇄ Pull/Merge requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.
© 2023 Gatsby, Inc.