joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.47k stars 424 forks source link

table of contents: link to sections #368

Open DavidCdeB opened 2 years ago

DavidCdeB commented 2 years ago

Many thanks for this program. Is it possible to be redirected to the section when you click on the "section title" in the table of contents?

MWE:

The following summary.md , and run as: $ grip -b summary.md

# Table of Contents

1. [Input files](#inputs)
2. [Output files](#outputs)

<a name="inputs"></a>
## 1. Input files
blah 1 , blah 2...

<a name="outputs"></a>
## 1. Ouptput files
blah 3, blah 4...