Skip to content

A CLI for generating an index file for a directory with many markdown files

Notifications You must be signed in to change notification settings

jbrown1618/markdown-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

markdown-index

A CLI for creating an index for a directory full of markdown files

Installation

go get github.com/jbrown1618/markdown-index

Usage

markdown-index --root /path/to/markdown/directory --browser

Example

Given the file tree:

root/
|
+- Ideas
|  |
|  +- good-idea.md
|  +- bad-idea.md
|
+- Recipes
   |
   +- good-recipe.md
   +- bad-recipe.md

Running markdown-index --root /path/to/root will generate a file /path/to/root/index.md with contents:

# Root
## Ideas
- [My Good Idea](./Ideas/good-idea.md)
- [My Bad Idea](./Ideas/bad-idea.md)
## Recipes
- [My Good Recipe](./Ideas/good-recipe.md)
- [My Bad Recipe](./Ideas/bad-recipe.md)

About

A CLI for generating an index file for a directory with many markdown files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages