一个python脚本,用来将markdown中的图片上传到图床上,并替换文档中的链接
Project description
用来将markdown中的图片上传到图床,并将图片替换成对应的url
目前仅支持路过图床
使用
replace_img store # 将登陆的信息缓存下来
replace_img process -o test.md # 将test.md中的图片替换成对应图床上的url。覆盖源文件
replace_img process -no test.md # 不覆盖源文件,而是生成一个process_前缀的文件
replace_img process -u user -p passwd md_files # 直接指定用户名密码登陆,且可以指定目录,将目录下的所有*.md文件替换
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
replace_md_img-0.0.14.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file replace_md_img-0.0.14.tar.gz.
File metadata
- Download URL: replace_md_img-0.0.14.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e36da25f0bcb2b25bd7b68129a999a1f78bc7b17c3853d5b2b8c5acb99677b5c
|
|
| MD5 |
822e4935e0437a7fd917783165756661
|
|
| BLAKE2b-256 |
efecd378a1f44915c1e43a20640bb3a4b0165e7b4705b5a6f2efbd7a46805bdd
|
File details
Details for the file replace_md_img-0.0.14-py3-none-any.whl.
File metadata
- Download URL: replace_md_img-0.0.14-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d325d8db9115c35b9c5d59f12366e5c217ca8f047bc43b0e3b05e26c92404794
|
|
| MD5 |
747cea2aac52e9c67ecd14b9ee15f6e8
|
|
| BLAKE2b-256 |
0590ce3c9ef1aeeeae1015aea28d627ddeffe02328efef5bf3607734f183112a
|