1.0.0 • Published 5 years ago

hexo-pinyin-ruby-marks v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

hexo-pinyin-ruby-marks

  • A plugin for Hexo, which converts Hanyu pinyin tone numbers to tone symbols. A pinyin tag allows users to quickly and easily insert <ruby> snippets containing pinyin tone symbols into their posts.

  • Hexopinyin标签。一个将汉语拼音“声调数字”转换成“声调符号”的轮子。 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: 初音未来(chū yīn wèi lái)
  • 看起来像:初音未来(chū yīn wèi lái)

Tests

  • these are no tests yet.
  • 尚未有测试。

Changelog

Issues

License

MIT ©Futaba Isshiki

1.0.0

5 years ago

0.2.0

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago