An opinionated utility script to convert a Markdown file to a styled PDF.
This is a small Python tool (built on ReportLab) with a thin shell entry point.
./run.sh <file.md> # write <file>.pdf next to the input
./run.sh <file.md> --out out.pdf # explicit output path- Python 3
reportlab(pip install -r requirements.txt)
run.sh— entry point; resolves its own dir and execspython3 main.py.main.py— the converter (argument parsing, Markdown → PDF rendering).test_inline_markup.py— unit tests for inline-markup parsing.docs/architecture.md— how the converter is structured.
Run the tests (unittest):
python3 test_inline_markup.py