Publish markdown to medium. Extracted from @jxnblk's script (thank him if you see him).
- Get a third party integration token on medium
- install
markdown-to-medium
- copy the token to the clipboar
- create an article with the token passed through
--token
- the token is now stored locally for future use, rinse repeat
Usage: markdown-to-medium <path to markdown>
Options:
-h, --help Output usage information
-v, --version Output version number
-t, --token Pass in the user token, stored after first use
Examples:
$ markdown-to-medium ./foobar.md # Publish markdown to medium
Docs: https://github.com/yoshuawuyts/markdown-to-medium
Bugs: https://github.com/yoshuawuyts/markdown-to-medium/issues
To get the correct title and date to show up, use YAML
frontmatter in your
markdown:
---
title: 'How to light a tire fire'
created: '6-20-2016'
---
Now put some of the best words here.
You can do it, you're witty and smart and charming and
$ npm install markdown-to-medium