hexo-ruby-character-ex
forked from https://github.com/issiki/hexo-ruby-character-ex
Ruby character tag for Hexo, inspired by the Ruby template of 萌娘百科.
Install
Syntax
{% ruby base|text %}
{% ruby Base|top %}
→ <ruby>Base<rp>(</rp><rt>top</rt><rp>)</rp></ruby>
{% ruby 超電磁砲|レールガン %}
→ <ruby>超電磁砲<rp>(</rp><rt>レールガン</rt><rp>)</rp></ruby>
{% pinyin base|text %}
the pinyin character with tone marks are not easy to type.
{% pinyin 佐天泪子|掀裙狂魔 %}
→ <ruby>佐天泪子<rp>(</rp><rt>xiān qún kuáng mó</rt><rp>)</rp></ruby>