1. Markdown 渲染插件:hexo-renderer-markdown-it
    GitHub: https://github.com/hexojs/hexo-renderer-markdown-it
    先删除 npm uninstall hexo-renderer-marked --save
    再安装 npm install hexo-renderer-markdown-it --save

  2. 短链生成插件
    GitHub: https://github.com/rozbo/hexo-abbrlink
    npm install hexo-abbrlink --save

  3. 文章隐藏插件
    GitHub: https://github.com/printempw/hexo-hide-posts
    npm install hexo-hide-posts --save

  4. 文章置顶插件
    GitHub: https://github.com/netcan/hexo-generator-index-pin-top
    先删除 npm uninstall hexo-generator-index --save
    再安装 npm install hexo-generator-index-pin-top --save

  5. 文章置顶和隐藏文章,排序更灵活:hexo-generator-index-custom

  6. 文章加密插件
    GitHub: https://github.com/MikeCoder/hexo-blog-encrypt
    npm install --save hexo-blog-encrypt

  • 使用:在文章信息头插入
    password: mikemessi abstract: 有东西被加密了, 请输入密码查看.
    message: 您好, 这里需要密码.
  1. 不跟踪外链插件
    GitHub: https://github.com/hexojs/hexo-filter-nofollow
    npm i hexo-filter-nofollow --save
    对SEO友好。可排除自定义域名。

  2. 代码压缩插件
    GitHub: https://github.com/rozbo/hexo-neat
    npm install hexo-neat --save
    只压缩html就够了,去除多余空格和换行

  3. 死链检查插件
    GitHub: https://github.com/sergeyzwezdin/hexo-broken-links-checker
    npm install hexo-broken-links-checker --save-dev
    npx hexo check-links

  4. 嵌入维基百科摘要插件:hexo-tag-wikipedia
    GitHub: https://github.com/tuanna-hsp/hexo-tag-wikipedia

  5. 分栏插件
    Butterfly主题选 hexo-butterfly-tag-plugins-plus-chinese