gatsby-remark-encrypted-block
v0.0.2
Published
Gatsby remark plugin for adding an encrypted block in markdown
Downloads
2
Maintainers
Readme
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-----'
},
},
},
],
},
},
];