I had problems using 8 converters to convert my markdown files to HTML and PDF. So I decided to make my own. This is a simple converter that converts markdown files to HTML and PDF. It is written in Python. Motivation for my implementation was the extension MarkdownToPDF for Visual Studio Code i researched everything about it and reversed engineered how they did it. Quite some cool stuff in there. I used the standard markdown library. To convert the markdown into html with some extensions.
This software is cross-platform should work on Windows, Linux and Mac but make sure you set up the libraries properly
- You should install https://wkhtmltopdf.org/ and add it to your path.
- You should install Python 3.7 or higher - You should install the requirements.txt file with pip install -r requirements.txt
python3 MarkdownToHTML.py