Skip to content

elda27/eml2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eml2md

codecov

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

Example

eml2md -i tests/example/Test.eml -o Test.md
|         |                                                                          |
| ------- | ------------------------------------------------------------------------ |
| 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

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