Skip to content

Utility to add scripts from a repository to a markdown file.

Notifications You must be signed in to change notification settings

James-2879/repo2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

repo2md

Simple utility to generate a markdown document from files in a cloned Git repository.

Features

Note

  • Each file has a markdown heading, defined by file depth in the repo.
  • Code contained in each file is in markdown code blocks.

Tip

Further file types to be excluded can be added at the top of the script.

Usage

python3 repo2md --help

python3 repo2md --repo_path ~/Downloads/example_repo/ --md_file_path ~/Downloads/example.md

TODO

  1. Exclude more file types
  2. Add contents
  3. Classes etc.

Releases

No releases published

Packages

No packages published

Languages