gautamdhameja / medium-2-md

A CLI tool that converts exported Medium posts (html) to Jekyll/Hugo compatible markdown with front matter.
https://www.npmjs.com/package/medium-2-md
Apache License 2.0
142 stars 19 forks source link

including speaking url in file name #4

Closed alexanderadam closed 5 years ago

alexanderadam commented 5 years ago

It would be nice if filenames would be converted into the 'speaking' urls instead article identifier.

So, for example if I want to archive an article with

$ medium-2-md convertUrl https://medium.com/@watzon/doing-crystal-2-501daaf8390d -o . -fi

it is resulting in 501daaf8390d.md. By looking at it's filename I'm not able to understand anymore what the article was about.

Maybe something like watzon_-_doing-crystal-2-501daaf8390d.md would be more speaking and recognizable?

What do you think @gautamdhameja?

gautamdhameja commented 5 years ago

I think this makes sense. I will look into it. Thanks.

gautamdhameja commented 5 years ago

Fixed in v0.4.1. https://www.npmjs.com/package/medium-2-md/v/0.4.1

alexanderadam commented 5 years ago

Awesome, thank you!