mht2md.py is a Python script designed to convert MHT (MIME HTML) files to Markdown format. This tool simplifies the process of transforming into the Markdown format.
You only need to run the script in the folder with 1 or more MHT files. The script will convert all MHT files in the folder to Markdown format. Each MHT file will be converted to a separate Markdown file in their own folder with the same name as the MHT file.
- Clone the repository:
git clone https://github.com/jonesckevin/mht2md.git
- Navigate to the project directory:
cd mht2md - Install the required dependencies:
pip install -r requirements.txt
- Run the script with the following command:
python3 mht2md.py
cd Docker_Build
docker build mht2md .
docker run -it --rm -p 6754:80 -v $(pwd):/app mht2md
services:
mht2md:
image: jonesckevin/mht2md:latest
container_name: mht2md-webapp
ports:
- 5674:80