Gridsome remark plugin to embed external stuff into your gridsome site.
npm install @jammeryhq/gridsome-plugin-remark-embed
# or
yarn add @jammeryhq/gridsome-plugin-remark-embed
- Support for
- Codepen
- Code Sandbox
- Facebook Post
- Facebook Video
- Giphy
- Github Gist
- JSFiddle
- Soundcloud
- Spotify
- Vimeo
- Youtube
- Custom templates
- Configuable
//gridsome.config.js
module.exports = {
plugins: [
{
use: '@gridsome/source-filesystem',
options: {
path: 'blog/**/*.md',
route: '/blog/:year/:month/:day/:slug',
remark: {
plugins: [
[ '@jammeryhq/gridsome-plugin-remark-embed', {
'enabledProviders' : ['Youtube', 'Twitter', 'Gist'],
}]
]
}
}
}
]
}
You can find the complete documentation here: https://webstone.info/documentation/gridsome-plugin-remark-embed