bmwant / hexo-post-link

Automatically convert markdown links with post slugs to proper internal URLs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Automatically convert markdown links with post slugs to proper internal URLs.

License:MIT License


Languages

Language:JavaScript 100.0%