Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

markdown-to-medium

> 编程语言
Open source

Publish markdown to medium

195 stars0 likes3 views
WebsiteGitHub

About

Publish markdown to medium

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).

Getting Started

  1. Get a third party integration token on medium
  2. Install markdown-to-medium
  3. Copy the token to the clipboard
  4. Create an article with the token passed through --token
  5. The token is now stored locally for future use, rinse repeat

Usage

…

License

You can specify a license for your draft. It must be one of these options: all-rights-reserved, cc-40-by, cc-40-by-nd, cc-40-by-sa, cc-40-by-nc, cc-40-by-nc-nd, cc-40-by-nc-sa, cc-40-zero, public-domain.

Metadata

To get the correct title and date to show up without using options, you can use YAML frontmatter in your markdown:

markdown
---
title: 'How to light a tire fire'
created: '6-20-2016'
publication: 'Intention and Integrity'
canonicalUrl: 'https://example.com/how-to-light-a-tire-fire'
tags: ['fire', 'tires']
license: 'public-domain'
---

Now put some of the best words here.
You can do it, you're witty and smart and charming and

Note that created is not passed through to Medium.

If there is no YAML frontmatter, you can also specify the title using a first level markdown header, such as # Title, on the first line of the file.

Installation

bash
$ npm install --global markdown-to-medium

See Also

  • medium api docs
  • jxnblk/writing

License

MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言