Generate Blog Post Name for Jekyll Blog quickly

Generating Blog Post Name using Javascript.

Question

How to Generate Blog Post Name for Jekyll Blog quickly?

Demo

For example:

If you want to posy blog name ‘How to Discover Your Blogging Niche?’ in Jekyll, and the posy name should name as ‘2016-08-29-How-to-Discover-Your-Blogging-Niche.markdown’.

I write following code to let us quickly generate Post Name

Demo :

The demo link: Generate Post Name

Source Code

There are following Code:

The source code: codes