Go to file
almenon d9fc8f5f0f #1 update library to turndown 2019-12-22 15:10:25 -08:00
lib #1 update library to turndown 2019-12-22 15:10:25 -08:00
.gitignore add .gitignore 2017-04-28 17:27:06 -07:00
LICENSE add license 2017-04-28 17:28:22 -07:00
README.md avoid null in toMarkdown 2017-05-06 21:33:10 -07:00
index.js first commit 2017-04-28 17:26:30 -07:00
package-lock.json #1 update library to turndown 2019-12-22 15:10:25 -08:00
package.json #1 update library to turndown 2019-12-22 15:10:25 -08:00

README.md

Medium to markdown

npm npm

This module lets you take a medium post and convert it to markdown.

Usage

Currently, the module supports getting the markdown from a medium post by URL.

const mediumToMarkdown = require('medium-to-markdown');

mediumToMarkdown.convertFromUrl('<medium post url>')
.then(function (markdown) {
  console.log(markdown); //=> Markdown content of medium post
});