Metadata-Version: 2.4
Name: attachments-fetcher
Version: 0.1.4
Summary: A tool for downloading embedded images in a Markdown document into a dedicated directory and replacing the image links with the local ones.
Author-email: Dennis Sitelew <yowidin@gmail.com>
Project-URL: homepage, https://github.com/yowidin/attachments-fetcher
Project-URL: bugtrack, https://github.com/yowidin/attachments-fetcher/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests==2.31.0
Requires-Dist: urllib3==1.26.6
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Dynamic: license-file

# 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:

```markdown
Hello world!
![image](https://example.com/image/storage/sample.png)
```

After running this script against it:

```shell
af-make-local -i input.md -o output.md -m ./media
```

You will find a new file called `output.md` with the following content:

```markdown
Hello world!
![image](./media/sample.png)
```

and a `sample.png` image file, stored in the `./media` directory.
