Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-filter-github-issue-link

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-filter-github-issue-link

Convert issue link to hexo permalink

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

A plugin to make convenient for convert github issues link to hexo permalink in markdown style

Installation

cd to hexo root

npm install hexo-filter-github-issue-link --save

Hexo will detect automatically

Important

You must put the issue_link at the head of your post.

Example

Say you have the issues1.md

---
title: example-title1
issue_link: https://github.com/<your-name>/<your-blog-repo>/issues/1
---
bla bla bla

And here is content of issues2.md

---
title: example-title2
issue_link: https://github.com/<your-name>/<your-blog-repo>/issues/2
---
bla bla bla

[Link to issues1](https://github.com/<your-name>/<your-blog-repo>/issues/1)

bla bla bla

After process of hexo-filter-github-issue-link and before render

issues2.md will be transformed as:

bla bla bla

[Link to issues1](http://yoursite.com/the-permalink-of-issues1)

bla bla bla

This is a real url which capturing during before_post_render event

Thanks

Original code is from zhenyong/hexo-filter-file-link

Keywords

FAQs

Package last updated on 01 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc