DEV Community

Cover image for From Medium to Markdown to Dev.to
Arnaud Ferrand
Arnaud Ferrand

Posted on

From Medium to Markdown to Dev.to

Recently, I've been transferring my Medium posts to DEV.to, mainly for philosophical reasons ๐Ÿ˜‡

One thing I love about Dev.to is that you write in plain markdown. Editing an article is then editing Markdown. Nothing simpler.

Medium to Markdown

Sadly, Medium doesn't give a simple way to get the markdown of your post.

Luckily mediumexporter from @xdamman is a very useful CLI tool.

You will need nodejs to use it. Nowadays, node comes with npx, no need to install mediumexporter globally nor set up a local working dir with it.

Simply, download your article with :

npx mediumexporter https://medium.com/your-medium-url > your_post.md
Enter fullscreen mode Exit fullscreen mode

After executing that command, your Medium post is located in the current directory named your_post.md.

Resources

Photo by Jake Blucker on Unsplash

Top comments (1)

Collapse
 
mathewthe2 profile image
Mathew Chan

Thanks for the recommendation!