Skip to main content

Tools to convert markdown or html files including images to a single MHTML self-content file

Project description

MHTMLconverter

This package intends to provide tools to convert markdown or html files including images to a single MHTML self-content file.

Tested on Windows. Should work elsewhere...

html2mtml

Converts html files (either local or remote) to mhtml, including referenced images.

>> python -m mhtmlconverter.cli.html2mhtml -i index.html -o my_output.mhtml

>>  python -m mhtmlconverter.cli.html2mhtml -i http://github.com # default output is output.mhtml

md2mtml

Converts markdown files (either local or remote) to mhtml, including referenced images.

>> python -m mhtmlconverter.cli.md2mhtml -i README.md -o my_output.mhtml

TODO

css are not yet managed :/

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

MHTMLconverter-0.2.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

MHTMLconverter-0.2-py3.10.egg (12.2 kB view hashes)

Uploaded Source

Supported by

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