md-from-medium

0.0.7 • Public • Published

md-from-medium

Allows you to pull your Medium blogs locally and rewrites them in MarkDown. Works well with Gatsby sites.

Install

npm install -g md-from-medium

Usage

md-from-medium <mediumPostUrl> <markdownDir>

Features

Image downloads

This tool downloads all the images that need to be downloaded and links them in the Markdown.

Metadata

The metadata (namely title, date and description) is extracted from these pages as well, making it easy for you to customize article thumbnail cards and SEO.

Downsides

Currently doesn't support pulling Github gist embeds, if your Medium post has any of those you will have to import them manually into the .md file.

Small note on inspiration

I wanted to use a tool that will help me create my personal blog using Gatsby by pulling my articles from Medium. Nothing I found online was convenient enough, the closest was this package. However that package doesn't support downloading images. I used their code as a launchpad.

Package Sidebar

Install

npm i md-from-medium

Weekly Downloads

5

Version

0.0.7

License

MIT

Unpacked Size

9.91 kB

Total Files

5

Last publish

Collaborators

  • ysr.sayed