Socket
Socket
Sign inDemoInstall

@weknow/gatsby-remark-codepen

Package Overview
Dependencies
6
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @weknow/gatsby-remark-codepen

Embed Codepen pen in Gatsby markdown


Version published
Maintainers
4
Install size
2.26 MB
Created

Readme

Source

gatsby-remark-codepen

Embed Codepen in Gatsby markdown

Install

npm install --save @weknow/gatsby-remark-codepen

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: "gatsby-transformer-remark",
    options: {
      plugins: [
        {
          resolve:"@weknow/gatsby-remark-codepen",
          options: {
            theme: "dark",
            height: 400
          }
        }
      ]
    }
  }
];

Usage

# Blog post title

This is an example of embedding a pen.
Add any markdown as you normally do, and then insert a valid
Codepen link anywhere to automatically transform it into an embed.

#### Check this pen

https://codepen.io/digitalhydra/pen/jPqWwP

NOTE: Make sure to copy the link instead of embed code.

How this looks

View a live demo here

License

MIT

Keywords

FAQs

Last updated on 13 Dec 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc