0.0.2 • Published 6 months ago

hexo-post-replace v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

en-US | zh-CN

hexo-post-replace

A plugin for Hexo, which helps to replace words in the posts.

You can easily use it to mark the links of your friends, instead of typing the url every time.

Write in the Hexo config file like the following codes:

# Post replace
post_replace:
  before:
    '@Sukwants': '[@Sukwants](https://github.com/Sukwants)'
  after:
    'hexo-post-replace': '<a href="https://github.com/Sukwants/hexo-post-replace">hexo-post-replace</a>'

Write the word you want to replace before the colon. Write the word you want to replace with after the colon.

The rules under before will be used before post rendered. The rules under after will be used after post rendered.

0.0.2

6 months ago

0.0.1

7 months ago