Community Plugin
View plugin on GitHubgatsby-remark-embed-matterport
Embed a Matterport or MPEmbed showcase in your Markdown
Inspired by gatsby-remark-embed-youtube
Install
- Install plugin to your site:
yarn add gatsby-remark-embed-matterport
-
Add following to your
gatsby-config.js
:plugins: [ { resolve: "gatsby-transformer-remark", options: { plugins: [ { resolve: "gatsby-remark-embed-matterport", 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-matterport",
"gatsby-remark-responsive-iframe"
]
- Restart gastby.
Usage
# Look at this Showcase:
`matterport:https://my.matterport.com/show/?m=SpggAca2PAh`
License
MIT