Socket
Socket
Sign inDemoInstall

@weknow/gatsby-remark-twitch

Package Overview
Dependencies
6
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @weknow/gatsby-remark-twitch

Embed Twitch videos/clips/channels in Gatsby markdown


Version published
Maintainers
4
Created

Readme

Source

gatsby-remark-twitch

Embed Twitch videos/clips/channels in Gatsby markdown

Install

npm install --save @weknow/gatsby-remark-twitch

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: "gatsby-transformer-remark",
    options: {
      plugins: [
        {
          resolve:"@weknow/gatsby-remark-twitch",
          options: {
            width: 800,
            height: 400
          }
        }
      ]
    }
  }
];

Usage

# Blog post title

This is an example of embedding twitch media.
Add any markdown as you normally do, and then insert a valid
twitch link anywhere to automatically transform it into an embed

#### Twitch video

https://www.twitch.tv/videos/347319713

#### Twitch clip

https://www.twitch.tv/xisuma/clip/MagnificentOilyUdonTTours

#### Twitch channel

https://www.twitch.tv/xisuma


NOTE: Make sure to copy the link instead of embed code.

How this looks like

View a live demo here

License

MIT

Keywords

FAQs

Last updated on 13 Dec 2018

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc