Created
September 16, 2018 16:12
-
-
Save WillKoehrsen/f685c3aa4b0d4d9220d59404803bffa4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mediumToMarkdown = require('medium-to-markdown'); | |
// Enter url here | |
mediumToMarkdown.convertFromUrl('<medium post url>') | |
.then(function (markdown) { | |
console.log(markdown); //=> Markdown content of medium post | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment