Skip to content

thomas0087/markdown-index-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

markdown-index-generator

Generate markdown indexes for your github README files.

For example the following files:

$ tree
.
├── one.md
├── README.md
├── second_example
│   ├── README.md
│   └── janrain.md

become:

* [First](first.md)
* [Second example](second_example/README.md)
  * [Third](second_example/third.md)

Requirements

Ruby and tree are required to run the markdown index generator.

OSX install

$ brew install tree
$ brew install ruby

Linux install

There's a good chance tree is already installed, if not it's available from your package manager. For Fedora:

$ dnf install tree
$ dnf install ruby

Usage

Download the markdown_index_generator.rb file to your machine then run it.

$ ruby markdown_index_generator.rb

By default it uses the current directory but it also accepts a path to a directory.

$ ruby markdown_index_generator.rb /home/me/the-big-project

About

Generate markdown indexes for your github README files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages