md2medium
v0.0.4
Published
this command line tool converts markdown files into a github gist, that can be imported into medium.com
Downloads
5
Readme
md2medium
this command line tool converts markdown files into a github gist, that can be imported into medium.com
Features
- automatically converts code blocks into embedded gists:
```ts
block turns into a gist with.ts
file ending - remaps the headings
#
=> post title##
=> big heading###
to######
=> small heading
Usage
- Create a personal access token on github & select gist as option.
- Run this command:
npx md2medium [token] [markdown file]
- Use the url provided, to import your story into medium on https://medium.com/p/import
- Sadly you have to press enter after each
https://gist.github.com/...
url, to display the code blocks - Format & publish