gatsby-remark-embed-appietoday
Embed a AppieToday Video in your Markdown
Inspired by gatsby-remark-embed-youtube
Install
- Install plugin to your site:
npm i https://github.com/ahwswebdev/gatsby-remark-embed-appietoday.git yarn add gatsby-remark-embed-appietoday
- Add following to your
gatsby-config.js
:
plugins: resolve: "gatsby-transformer-remark" options: plugins: resolve: "gatsby-remark-embed-appietoday" options: width: 800 ratio: 177 // Optional: Defaults to 16/9 = 1.77 height: 400 // Optional: Overrides optional.ratio related: false //Optional: Will remove related videos from the end of an embedded YouTube video.
Note: if you also rely on gatsby-remark-responsive-iframe
, you have to define the embed-youtube plugin first:
plugins:"gatsby-remark-embed-appietoday""gatsby-remark-responsive-iframe"
- Restart gastby.
Usage
# Look at this Video: `appietoday: 2920803`
License
MIT