Skip to content

A package to wrap iframes inside Markdown in a div for styling purposes

Notifications You must be signed in to change notification settings

aderaaij/gatsby-remark-wrap-iframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wraps iframes or objects (e.g. embedded YouTube videos) within markdown files in a div with the classname gatsby-iframe-wrap. If you want out-of-the-box responsive iframes, please checkout gatsby-remark-repsonsive-iframe instead.

Install

npm install --save gatsby-remark-wrap-iframe

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [`gatsby-remark-wrap-iframe`],
    },
  },
];

About

A package to wrap iframes inside Markdown in a div for styling purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published