md2medium

command module
v0.0.0-...-f4575a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2017 License: MIT Imports: 21 Imported by: 0

README

md2medium

Write your blog posts in Markdown and publish them on Medium using md2medium.

Install

md2medium requires Go 1.8 and can be installed using:

go get -u github.com/cjoudrey/md2medium

Usage

Once installed using md2medium is as simple as:

$ md2medium my_article.md

Features

Syntax highlighting

Medium does not support syntax highlighting of code blocks. Instead, you must create gists and embed the gists in your article.

md2medium makes this chore much easier by automatically creating gists for any code blocks in your Markdown file:

Image caption

When specifying an alt for an image in Markdown, md2medium will include it under the image:

Metadata extraction

By embedding YAML metadata at the top of a Markdown file, extra information can be sent to Medium.

For now, only tags can be specified in this format.

Example usage:

---
tags: [GraphQL, Ruby]
---

# My article about GraphQL and Ruby

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cjoudrey/md2markdown. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL