Metadata-Version: 2.1
Name: eml2md
Version: 0.1.2
Summary: Convert from eml file to markdown text.
Home-page: https://github.com/elda27/eml2md
License: Apache 2.0
Author: elda27
Author-email: kaz.birdstick@gmail.com
Requires-Python: >=3.8,<3.11
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Project-URL: Repository, https://github.com/elda27/eml2md
Description-Content-Type: text/markdown

# eml2md

[![codecov](https://codecov.io/gh/elda27/eml2md/branch/main/graph/badge.svg?token=Ck30XyeFvG)](https://codecov.io/gh/elda27/eml2md)

`eml2md` is a command line tool for converting from eml to markdown.

## Example

```bash
eml2md -i tests/example/Test.eml -o Test.md
```

```markdown
|         |                                                                          |
| ------- | ------------------------------------------------------------------------ |
| From    | 井炉波鳰惠土 <author2@example.com>                                       |
| To      | 井炉波鳰惠土 <author1@example.com><br>井炉波鳰惠土 <author2@example.com> |
| CC      | 井炉波鳰惠土 <author2@example.com><br> <author1@example.com>             |
| Date    | 2022-08-09 23:47:29                                                      |
| Subject | Re: Test                                                                 |

test blanks
2022 年 8 月 9 日(火) 23:47 井炉波鳰惠土 <author1@example.com>:

> Quote message
>
> dsadbubfdus[\
> dsadinadioa
>
> dsnaidnai
>
> dsnuandi
```

## Usage

```bash
usage: eml2md [-h] -i INPUT -o OUTPUT [-f {simple,html}]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input file
  -o OUTPUT, --output OUTPUT
                        Output file
  -f {simple,html}, --format {simple,html}
                        Format of output markdown
```

