Overview
The Project2MD function converts a project directory into a single Markdown (.md) file. It recursively walks through the directory tree, reads file contents, and appends them to a Markdown file with optional formatting. It also generates a summary table of all processed files.
This is useful for creating project documentation, code snapshots, or sharing projects as a single Markdown file.