常用插件列表
-
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 -
短链生成插件
GitHub: https://github.com/rozbo/hexo-abbrlink
npm install hexo-abbrlink --save -
文章隐藏插件
GitHub: https://github.com/printempw/hexo-hide-posts
npm install hexo-hide-posts --save -
文章置顶插件
GitHub: https://github.com/netcan/hexo-generator-index-pin-top
先删除npm uninstall hexo-generator-index --save
再安装npm install hexo-generator-index-pin-top --save -
文章置顶和隐藏文章,排序更灵活:
hexo-generator-index-custom -
文章加密插件
GitHub: https://github.com/MikeCoder/hexo-blog-encrypt
npm install --save hexo-blog-encrypt
- 使用:在文章信息头插入
password: mikemessi abstract: 有东西被加密了, 请输入密码查看.
message: 您好, 这里需要密码.
-
不跟踪外链插件
GitHub: https://github.com/hexojs/hexo-filter-nofollow
npm i hexo-filter-nofollow --save
对SEO友好。可排除自定义域名。 -
代码压缩插件
GitHub: https://github.com/rozbo/hexo-neat
npm install hexo-neat --save
只压缩html就够了,去除多余空格和换行 -
死链检查插件
GitHub: https://github.com/sergeyzwezdin/hexo-broken-links-checker
npm install hexo-broken-links-checker --save-dev
npx hexo check-links -
嵌入维基百科摘要插件:hexo-tag-wikipedia
GitHub: https://github.com/tuanna-hsp/hexo-tag-wikipedia -
分栏插件
Butterfly主题选hexo-butterfly-tag-plugins-plus-chinese

