0.0.4 • Published 3 years ago
md2medium v0.0.4
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:
```tsblock turns into a gist with.tsfile 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