一个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 hashes)
Built Distribution
Close
Hashes for replace_md_img-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d325d8db9115c35b9c5d59f12366e5c217ca8f047bc43b0e3b05e26c92404794 |
|
MD5 | 747cea2aac52e9c67ecd14b9ee15f6e8 |
|
BLAKE2b-256 | 0590ce3c9ef1aeeeae1015aea28d627ddeffe02328efef5bf3607734f183112a |