Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-remark-embed-matterport

Embed a Matterport or MPEmbed showcase in your Markdown

Inspired by gatsby-remark-embed-youtube

Install

  1. Install plugin to your site:
yarn add gatsby-remark-embed-matterport
  1. 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"
]
  1. Restart gastby.

Usage

# Look at this Showcase:

`matterport:https://my.matterport.com/show/?m=SpggAca2PAh`

License

MIT

© 2023 Gatsby, Inc.