This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
hexo-permalink-pinyin with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A Hexo plugin which convert Chinese title to transliterate permalink.
npm i hexo-permalink-pinyin --save
Add configuration in
# https://github.com/viko16/hexo-permalink-pinyin permalink_pinyin: enable: true separator: '-' # default: '-'
permalink_pinyin: enable: true # Enable this plugin separator: '-' # Separator of the slug, default: '-' exclude: /ignore_post/ # Regex for which post should skip