0.1.2 • Published 5 years ago

hexo-incremental-id v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Hexo incremental id

I can eat glass, it doesn't hurt me.

A script that adds an incremental id to all your pages, for those who prefer using fixed ids in permalink.

Attention! This script will scan all your markdown files under sources folder every time you create new post, and all the methods are synchronous, you may encounter

  • performance problems
  • some old md files modified because a missing id is saved

Installation

PLEASE BACKUP YOUR EXISTING FILES BEFORE USING THIS SCRIPT

npm install --save hexo-incremental-id

FAQ

This script is ugly

I agree with you. if you have better / elegant way to handle a unique incremental id, please contact me.

No test?

No, no test. I've wasted several hours reading hexo docs and writing this script, I can't afford more. And this script is so brute-force that no one is supposed to use it, except me.

0.1.2

5 years ago

0.1.1

7 years ago

0.1.0

7 years ago