Export Medium posts to Markdown for reading offline
Copy code below to your ~/.bashrc
alias mediumexporter='docker run --rm -it -v "$(pwd):/app" mmphego/mediumexporter $1 > medium_post.md'
mediumexporter https://medium.com/@macropus/export-your-medium-posts-to-markdown-b5ccc8cb0050
# or
URL="https://medium.com/@macropus/export-your-medium-posts-to-markdown-b5ccc8cb0050"
docker run --rm -it -v "$(pwd):/app" mmphego/mediumexporter $URL > medium_post.md
See this project on the Docker Hub.
Export your Medium posts to Markdown
Feel free to fork it or send me PR to improve it.