#markdown #generate-markdown #content #catalog #file #md #title

bin+lib catalog-of-markdown

Generate the catalog of markdown file

5 releases

0.1.4 Aug 28, 2023
0.1.3 Apr 7, 2023
0.1.2 Jan 7, 2023
0.1.1 Jan 4, 2022
0.1.0 Jan 1, 2022

#936 in Text processing

MIT license

10KB
232 lines

README

Generate catalog of README.md on Github Repo.

Example

cargo run -- Example.md

will generate content below in stdout:

- [Example](#example)
  - [Subtitle0](#subtitle0)
    - [sub sub title](#sub-sub-title)
  - [Subtitle 1](#subtitle-1)
  - [Subtitle 2](#subtitle-2)

cargo run -- -d 1 ./Example.md

- [Subtitle0](#subtitle0)
  - [sub sub title](#sub-sub-title)
- [Subtitle 1](#subtitle-1)
- [Subtitle 2](#subtitle-2)

cargo run -- -d 2 ./Example.md

- [sub sub title](#sub-sub-title)

Dependencies

~3.5–5MB
~87K SLoC