An open API service indexing awesome lists of open source software.

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.

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:

![](.assets/20220505221413.png)

2. Run in terminal:

```shell
python -m markdown_image_lofter
```

or get help with:

```shell
python -m markdown_image_lofter -h
```

![](.assets/20220505220318.png)

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.