Skip to main content

一个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


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)

Uploaded Source

Built Distribution

replace_md_img-0.0.14-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page