Skip to content

A vscode extension to convert Medium posts to local markdown file

Notifications You must be signed in to change notification settings

moshfeu/vscode-medium-to-markdown

Repository files navigation

Due a change in the Medium API, this extension is no longer working. If I'll find a way to fix it, I'll publish it again. Sorry

Medium to Markdown

Use Medium to Markdown to fetch and convert your Medium posts into local markdown files.

screen record

How to use?

Run the command bellow in the Command Palette

> Medium to Markdown: Convert Medium post

Options

{
  "downloadPath": "relative/path/to/your/posts/folder",
  "fileType": "md", // or "mdx"
  "frontmatter": true, // adds frontmatter data
  "canonical": false // adds canoniacl tags - not relevant if "frontmatter" = false
}

Notice

This extension is basically a wrapper on top of mediumexporter (forked from xdamman).

The converter uses some heuristics and the result may not looks exactly how you'd like. Please review the result before publishing it.

If you see how it can be improved please create an issue here or in the forked repo. Thank you.