README
hexo-pinyin-ruby-marks
A plugin for Hexo, which converts Hanyu pinyin
tone numbers
totone symbols
. Apinyin
tag allows users to quickly and easily insert<ruby>
snippets containingpinyin tone symbols
into their posts.Hexo
pinyin
标签。一个将汉语拼音“声调数字”转换成“声调符号”的轮子。pinyin
标签允许用户快速简单地在文章中插入含有拼音符号的<ruby>
代码片段。
Setup
- via npm. In your hexo project folder, run:
- 通过NPM安装。在您的Hexo项目目录,运行:
$ npm install hexo-pinyin-ruby-marks
Usage
CONFLICT with other hexo plugins that have regitered
pinyin
tag.与其他注册了
pinyin
标签的Hexo插件冲突。In your new posts,
在您的新文章里,
{% pinyin 初音未来|chu1 yin1 wei4 lai2 %}
- after run
$ hexo generate
, ↓ ↓ ↓ - 在运行
$ hexo generate
后,↓ ↓ ↓
<ruby><rb>初音未来</rb><rp>(</rp><rt>chū yīn wèi lái</rt><rp>)</rp></ruby>
- which looks like:
初音未来 - 看起来像:
初音未来
Tests
- these are no tests yet.
- 尚未有测试。
Changelog
- see changelog here.
- 更新记录在这里查看。
Issues
- submit any issues/bugs about this package here. Thank you!
- 有任何关于此包的疑问或者缺陷,请于此处提出。感谢!
License
MIT ©Futaba Isshiki