Encrypting Blog Article

hexo-blog-encrypt | GitHub

使用

  1. 安装 hexo-blog-encrypt 插件

    1
    npm install --save hexo-blog-encrypt
  2. 博客文章中添加相应配置

    1
    2
    3
    4
    5
    password: mikemessi
    abstract: Here's something encrypted, password is required to continue reading.
    message: Hey, password is required here.
    wrong_pass_message: Oh, this is an invalid password. Check and try again, please.
    wrong_hash_message: Oh, these decrypted content cannot be verified, but you can still have a look.

影响

  1. 加密博文中的代码块样式风格不能正确渲染
  2. 加密博文中的代码块超出边界