Lirt/markdown-toc-bash

Bash script to generate table of contents from markdown file (README.md)

34

stars

4

commits

Shell

primary language

Jun 11, 2024

updated

README

Markdown ToC

Simple bash script to generate table of contents from a markdown file (most commonly README.md)

Table of Contents

Usage

Only dependency is bash.

To generate ToC, run following command. The ToC will be echoed to command line. Afterwards you can put the ToC output into your markdown file and it will link your headings.

./markdown-toc.sh README.md

Contribution

Any issues or improvements can be reported using GitHub issues.

Contributors

Lirt

4 commits

Lirt/markdown-toc-bash

Bash script to generate table of contents from markdown file (README.md)

34

stars

4

commits

Shell

primary language

Jun 11, 2024

updated

README

Markdown ToC

Simple bash script to generate table of contents from a markdown file (most commonly README.md)

Table of Contents

Usage

Only dependency is bash.

To generate ToC, run following command. The ToC will be echoed to command line. Afterwards you can put the ToC output into your markdown file and it will link your headings.

./markdown-toc.sh README.md

Contribution

Any issues or improvements can be reported using GitHub issues.

Contributors

Lirt

4 commits

Languages

Shell

100.0%