node package manager

hexo-ruby-character

hexo-ruby-character

npm npm

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

Install

npm install hexo-ruby-character --save

Usage

{% 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