百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

markdown-to-medium

> 编程语言
开源

将 Markdown 发布到 Medium

195 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

将 Markdown 发布到 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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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