Transform your code project into a Markdown document optimized for interaction with Language Learning Models like GPT-4, complete with dynamic file selection and token management features.
-
Updated
Sep 29, 2023 - TypeScript
Transform your code project into a Markdown document optimized for interaction with Language Learning Models like GPT-4, complete with dynamic file selection and token management features.
Convert an entire code repository (local or remote) to a single markdown or pdf file
This script takes all files with a specific extension (specified with the -n argument) from a folder and subfolders and writes them to a markdown file. You can also exclude specific folders (using the -e argument). It excludes all hidden folders (with '.' at the beginning).
litdown: A simple Perl script that converts source code files into markdown-formatted documents for literate programming by treating specially prefixed comments as markdown text.
Add a description, image, and links to the code-to-markdown topic page so that developers can more easily learn about it.
To associate your repository with the code-to-markdown topic, visit your repo's landing page and select "manage topics."