npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-butterfly-tag-plugins-plus-chinese

v2.0.1

Published

A number of tag plugins for theme-butterfly

Downloads

191

Readme

hexo-butterfly-tag-plugins-plus-chinese

基于原作者Akilarの糖果屋修改 大量外挂标签

  1. 中文版演示

  2. VS Code 代码片段补全

理论上兼容原来的英文书写,但参数请不要混合书写

由于改变写法,所以2.0.0不兼容以前版本个别标签的写法如:行内文本,锻炼文本,复选列表,单选列表,github徽标,折叠框,诗词标签

安装

  1. 安装插件,在博客根目录[Blogroot]下打开终端,运行以下指令:
npm install hexo-butterfly-tag-plugins-plus-chinese --save
  1. 考虑到hexo自带的markdown渲染插件hexo-renderer-marked与外挂标签语法的兼容性较差,建议您将其替换成hexo-renderer-kramed
npm uninstall hexo-renderer-marked --save
npm install hexo-renderer-kramed --save
  1. 添加配置信息,以下为写法示例 在站点配置文件_config.yml或者主题配置文件_config.butterfly.yml中添加
# tag-plugins-plus
# see https://akilar.top/posts/615e2dec/
tag_plugins:
  enable: true # 开关
  priority: 5 #过滤器优先权
  issues: false #issues标签开关
  link:
    placeholder: /img/link.png #link_card标签默认的图标图片
  CDN:
    anima: https://unpkg.com/hexo-butterfly-tag-plugins-plus-chinese@latest/lib/assets/font-awesome-animation.min.css #动画标签anima的依赖
    jquery: https://unpkg.com/jquery@latest/dist/jquery.min.js #issues标签依赖
    issues: https://unpkg.com/hexo-butterfly-tag-plugins-plus-chinese@latest/lib/assets/issues.js #issues标签依赖
    iconfont: //at.alicdn.com/t/font_2032782_8d5kxvn09md.js #参看https://akilar.top/posts/d2ebecef/
    carousel: https://unpkg.com/hexo-butterfly-tag-plugins-plus-chinese@latest/lib/assets/carousel-touch.js
    tag_plugins_css: https://unpkg.com/hexo-butterfly-tag-plugins-plus-chinese@latest/lib/tag_plugins.css
  1. 参数释义

|参数|备选值/类型|释义| |:--|:--|:--| |enable|true/false|【必选】控制开关| |priority|number|【可选】过滤器优先级,数值越小,执行越早,默认为10,选填| |issues|true/false|【可选】issues标签控制开关,默认为false| |link.placeholder|【必选】link卡片外挂标签的默认图标| |CDN.anima|URL|【可选】动画标签anima的依赖| |CDN.jquery|URL|【可选】issues标签依赖| |CDN.issues|URL|【可选】issues标签依赖| |CDN.iconfont|URL|【可选】iconfont标签symbol样式引入,如果不想引入,则设为false| |CDN.carousel|URL|【可选】carousel旋转相册标签鼠标拖动依赖,如果不想引入则设为false| |CDN.tag_plugins_css|URL|【可选】外挂标签样式的CSS依赖,为避免CDN缓存延迟,建议将@latest改为具体版本号|

外挂标签文档

  1. Tag Plugins Plus

  2. 中文版演示

更新记录

  • 2023-11-22:2.0.0
    1. 简化个别标签参数的写法(由于改变写法,所以2.0.0不兼容以前版本的写法)
    2. 提供VS Code 代码片段补全