1.0.0 ā¢ Published 2 years ago
hexo-post-link v1.0.0
hexo-post-link
š Refer to your internal posts with a native markdown syntax.
No need to include ugly tags like post_link anymore.
Before
{% post_link your-post-slug 'Your link to post text' %}
With plugin installed
[Your link to post text](your-post-slug)
Both will be rendered as
<a href="/your-post-slug/">Your link to post text</a>
Installation
$ npm i hexo-post-link
# or
$ npm install hexo-post-link --save
Acknowledgement
- hexo-filter-link-post plugin which was used as a boilerplate code
- Nice article on Hexo plugins
1.0.0
2 years ago