Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JamesPan/hexo-ruby-character

Ruby charater tag for Hexo
https://github.com/JamesPan/hexo-ruby-character

Last synced: 3 months ago
JSON representation

Ruby charater tag for Hexo

Awesome Lists containing this project

README

        

# hexo-ruby-character #

[![npm](https://img.shields.io/npm/v/hexo-ruby-character.svg)](https://npmjs.org/package/hexo-ruby-character)
[![npm](https://img.shields.io/npm/dm/hexo-ruby-character.svg)](https://npmjs.org/package/hexo-ruby-character)
[![npm](https://img.shields.io/npm/dt/hexo-ruby-character.svg)](https://npmjs.org/package/hexo-ruby-character)
[![npm](https://img.shields.io/npm/l/hexo-ruby-character.svg)](https://npmjs.org/package/hexo-ruby-character)

Ruby character tag for Hexo, inspired by the [Ruby template](http://zh.moegirl.org/Template:Ruby) of [萌娘百科](http://zh.moegirl.org).

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