This project provides a simple HTML template that allows users to input HTML code, process it on the backend built with Flask, and display both the processed result and a rendered version. The HTML code input and processed result are tables to use in mail template.
- Input HTML code in a textarea.
- Process the HTML code on the Flask backend.
- Display processed result in a textarea and render it in an iframe.
- Syntax-highlighted HTML code using Prism.js.
- Clone this repository to your local machine.
git clone https://github.com/your-username/html-processor.git
cd convert_html_mail
- Create a virtual environment and install dependencies.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Run the Flask app.
flask run
The backend of this project is built with Flask, a lightweight Python web framework. The backend code can be found in the app.py
file.
- HTML
- CSS
- Prism.js - For syntax highlighting
- Flask - For the backend
This project uses Flask for the backend processing logic.
- Prism.js: https://prismjs.com/
- Flask: https://flask.palletsprojects.com/
This project is licensed under the MIT License - see the LICENSE file for details.