1.0.0 • Published 7 years ago
hexo-pinyin-ruby-marks v1.0.0
hexo-pinyin-ruby-marks
A plugin for Hexo, which converts Hanyu pinyin
tone numberstotone symbols. Apinyintag allows users to quickly and easily insert<ruby>snippets containingpinyin tone symbolsinto their posts.Hexo
pinyin标签。一个将汉语拼音“声调数字”转换成“声调符号”的轮子。pinyin标签允许用户快速简单地在文章中插入含有拼音符号的<ruby>代码片段。
Setup
- via npm. In your hexo project folder, run:
- 通过NPM安装。在您的Hexo项目目录,运行:
$ npm install hexo-pinyin-ruby-marksUsage
- CONFLICT with other hexo plugins that have regitered
pinyintag. 与其他注册了
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: 初音未来(chū yīn wèi lái)
- 看起来像:初音未来(chū yīn wèi lái)
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