Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

gatsby-remark-encrypted-block

Adds an encrypted block to MarkdownRemark using remark-encrypted-block.

Install

npm install --save gatsby-remark-encrypted-block

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [
        {
          resolve: "gatsby-remark-encrypted-block",
          options: {
            blocks: {
              key: '-----BEGIN RSA PUBLIC KEY-----${pubKey}-----END RSA PUBLIC KEY-----'
            },
          },
        },
      ],
    },
  },
];
Docs
Tutorials
Plugins
Blog
Showcase