GIVEN a readme.md file exists
My favourite things are:
<!-- markdown-children:start -->
<!-- markdown-children:end -->WHEN MarkdownChildren is invoked
MarkdownChildren ~/readme.md -n useH1THEN the readme.md turns into:
My favourite things are:
<!-- markdown-children:start -->
- [Animals](animals.md)
- animals
- pets
- [Cats](animals/pets/cats.md)
- [Dogs](animals/pets/dogs.md)
- zoo
- [Tiger](animals/zoo/tiger.md)
- [Clothes](clothes.md)
- clothes
- summer
- [Dress](clothes/summer/dress.md)
- [Hat](clothes/summer/hat.md)
- winter
- [Jumper](clothes/winter/jumper.md)
- [Pants](clothes/winter/pants.md)
<!-- markdown-children:end -->Visit releases and download the command line tool or get the latest by doing the following:
- Clone the repo
- Open
MarkdownChildren.xcodeproj - Wait for Swift Package Depedencies to resolve
- Build (CMD+B)
- Right click
Products > MarkdownChildren, selectShow in Finder cdyour terminal to this directory
- Run
./MarkdownChildren <location of root markdown file> - Run
./MarkdownChildren -hfor all options
- Use github actions to create downloadable releases
- Research best way to provide version info via
-v
