Socket
Book a DemoInstallSign in
Socket

gatsby-remark-embed-youtube

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-remark-embed-youtube

Embed Youtube Videos in Gatsby via Markdown

0.0.7
latest
Source
npmnpm
Version published
Weekly downloads
370
218.97%
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-remark-embed-youtube

Embed a Youtube Video in your Markdown

Install

  • Install plugin to your site:
yarn add gatsby-remark-embed-youtube
  • Add following to your gatsby-config.js:
    plugins: [      
      {
        resolve: "gatsby-transformer-remark",
        options: {
          plugins: [
          {
            resolve: "gatsby-remark-embed-youtube",
            options: {
              width: 800,
              height: 400
            }
          }
          ]
        }
      },

Note: if you also rely on gatsby-remark-responsive-iframe, you have to define the embed-youtube plugin first:

plugins: [
  "gatsby-remark-embed-youtube",
  "gatsby-remark-responsive-iframe"
]
  • Restart gastby.

Usage

# Look at this Video:

`youtube:https://www.youtube.com/embed/2Xc9gXyf2G4`

License

MIT

Keywords

gatsby

FAQs

Package last updated on 18 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.