Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

attachments_fetcher-0.1.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

attachments_fetcher-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file attachments_fetcher-0.1.2.tar.gz.

File metadata

  • Download URL: attachments_fetcher-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for attachments_fetcher-0.1.2.tar.gz
Algorithm Hash digest
SHA256 135d1c9a0e8d533234911820ef2b5aaa9e2773ad01983dae59a4684bda3951cc
MD5 88d2e15d1482c01214b6a887ec30f773
BLAKE2b-256 cf01168ac4e4dac3014e467f4d4db0b5c9f13f84eb35edf4a408c2d1225800c6

See more details on using hashes here.

File details

Details for the file attachments_fetcher-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for attachments_fetcher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5a03bafb07bd69618da0794a54b5fd9aed04c8f965d8a51539e4eb28d4e2955
MD5 28d8c4316d8b3ddf96e0267bd358c88d
BLAKE2b-256 e8bbc7ed79a49cfc3b2b2dd4d5c40e78435b849d61b7273babbacb9dadbae92c

See more details on using hashes here.

Supported by

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