@zenghr/vuepress-plugin-encrypt

1.1.1 • Public • Published

vuepress 文章加密组件

config.js

[
  '@zenghr/encrypt',
  {
    contentTitle: '加密的内容',
    unencryptedText: '内容如下所示,它应该在发布时加密.',
    encryptedText: '这部分内容已被加密,你需要输入正确的密钥才能查看.',
    decryptedText: '加密内容已成功解密,如下所示: ',
    decryptButtonText: '解密',
    decryptFailText: '解密失败!',
    unencryptedIcon: undefined,
    encryptedIcon: undefined,
    decryptedIcon: undefined
  }
]

Readme

Keywords

Package Sidebar

Install

npm i @zenghr/vuepress-plugin-encrypt

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

29.7 kB

Total Files

7

Last publish

Collaborators

  • zenghr