Markdown to HTML converter. Converts a Markdown file into an HTML file formed of two columns:
- TOC (left-column)
- An auto generated Table of Contents based in the markdown headings
- Markdown content (right-column)
- Create virtualenv.
python3 -m venv ~/.virtualenvs/markhtml
- Activate venv.
source ~/.virtualenvs/markhtml/bin/activate
- Install requirements.
pip install -r requirements.txt
To convert
example.md
using src/markhtml.py path-to-markdown-file.md
generates example.html
src/markhtml.py examples/example.md
Generated file: examples/example.html
Uses python-markdown with TOC extension.