/markdown-to-medium

Publish markdown to medium

Primary LanguageJavaScriptMIT LicenseMIT

markdown-to-medium stability

npm version downloads js-standard-style

Publish markdown to medium. Extracted from @jxnblk's script (thank him if you see him).

markdown to medium example gif

Getting Started

  1. Get a third party integration token on medium
  2. install markdown-to-medium
  3. copy the token to the clipboar
  4. create an article with the token passed through --token
  5. the token is now stored locally for future use, rinse repeat

Usage

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

Meta data

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

Installation

$ npm install markdown-to-medium

See Also

License

MIT