node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »



npm npm

Ruby character tag for Hexo, inspired by the Ruby template of 萌娘百科.


npm install hexo-ruby-character --save


{% ruby Base|top %} → Base (top)

Specifically, if the top field is in Chinese characters, it while be converted to Chinese pinyin, because the pinyin chatater with heads are not easy to type.

Followings are the examples.

{% ruby 佐天泪子|掀裙狂魔 %} → 佐天泪子 (xiān qún kuáng mó)

Other languages like Japanese is also supported.

{% ruby 超電磁砲|レールガン %} → 超電磁砲 (レールガン)

Known issues