Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (18 loc) · 1.24 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.24 KB

hexo-ruby-character

npm npm 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