A tool for downloading embedded images in a Markdown document into a dedicated directory and replacing the image links with the local ones.
Project description
Attachments Fetcher
A tool for downloading embedded images in a Markdown document into a dedicated directory and replacing the image links with the local (fetched) ones.
Usage example
For example, if you have a Markdown called input.md
, with the following contents:
Hello world!
![image](https://example.com/image/storage/sample.png)
After running this script against it:
af-make-local -i input.md -o output.md -m ./media
You will find a new file called output.md
with the following content:
Hello world!
![image](./media/sample.png)
and a sample.png
image file, stored in the ./media
directory.
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
Built Distribution
Close
Hashes for attachments-fetcher-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f88bccc0a6345a2e510df92d30649da80f487234cc93c394861f7708db3ac96 |
|
MD5 | 3e63529c60be69cff1196af634e3ede7 |
|
BLAKE2b-256 | 3d1d4d65200548cd68689a9cce57b1d9f4e4e78d76049475ee76e500df2830d3 |
Close
Hashes for attachments_fetcher-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dde2460720c7e6f5b8f3d207fe56e48dfc1d92f0863ad2c18eb1d6840429613 |
|
MD5 | b004a5183fae68c65c103acc4869e1b4 |
|
BLAKE2b-256 | 5139f3061a30c77c86b4000a30cb93d979d544c51c0a0c0b6ad867dbd8af3def |