* Fix bug causing a large number of linters to be activated due to the markdown extension opening TextDocuments during indexing
* indentation problem
* code review by @OmarTawfik
* revert changed file
* Code review: use nodejs' Buffer
* fix ineffcient code
code review comments
* introduce SkinnyTextLine
* refactor redundant code
* revert changed files
* formatting
* remove empty line
Fixes#59711
For a md document:
```md
# a
# a
- [a](#a)
- [next a](#a-1)
```
You can now click on the second link in the editor to navigate to the second `a` header. It is identified by being suffixed with `-1`.