https://github.com/likianta/markdown-image-lofter
Prefer to write with local images, while upload in need.
https://github.com/likianta/markdown-image-lofter
Last synced: about 2 months ago
JSON representation
Prefer to write with local images, while upload in need.
- Host: GitHub
- URL: https://github.com/likianta/markdown-image-lofter
- Owner: likianta
- License: mit
- Created: 2022-05-05T14:43:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-08T03:05:27.000Z (8 months ago)
- Last Synced: 2025-04-02T14:22:45.670Z (6 months ago)
- Language: Python
- Size: 158 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdown Image Lofter
## Workflow
1. Write markdown, embed local image files.
2. Use this tool to upload images (to sm.ms image hosting):1. You must have a sm.ms account, get a secret api token and save it in [config.yaml](./config.yaml).
Like below:

2. Run in terminal:
```shell
python -m markdown_image_lofter
```or get help with:
```shell
python -m markdown_image_lofter -h
```
3. After process is done, you get a new markdown file (the same origin name but with a different extension: '.export.md').
4. Now you can publish it to your blog.