A tool for compiling code files into a single beautifully formatted HTML file for viewing in the browser, converting to PDF, or printing to paper. It saves a lot of time and effort each time one wishes to compile all files of different types into a single clean document. It saves a lot of time and effort each time one wishes to compile all files of different types into a single clean document.
The list of features have been generated with Gemini AI.
- Zero System Dependencies: No need to install finicky tools like
wkhtmltopdforLaTeXengines. It leverages your web browser's native print engine for perfect rendering. - MathJax Support: Automatically renders complex mathematical equations (
$x^2$and$$y=mx+b$$) written in your Markdown files. - Syntax Highlighting: Formats your source code neatly into fenced code blocks.
- Smart Filtering: Automatically ignores itself, your
README.md, and common junk folders (likenode_modules,venv, and.git). - Alphabetical Sorting: Groups and sorts your files logically by directory and filename.
- Print-Optimized CSS: Ensures code blocks aren't awkwardly split across multiple pages when printing to PDF.
You only need Python and a single standard library module.
pip install markdown