dewitt / opensearch

OpenSearch is a collection of simple formats for the sharing of search results.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of content links problem

Veknelyon opened this issue · comments

You have a little problem with the table of content at the beginning of the opensearch-1-1-draft-6.md file. Paragraphs which have the same name (like Overview, or Example) links to the first occurrence of these paragraph.
For instance, the second Overview link should links to https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#overview-1 instead of https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#overview.

Thanks for the report. I used a VSCode plugin to automatically generate the ToC, and it appears like it doesn't handle duplicate heading names well. I'll probably fix it right now by hand, and will report it as an issue in the plugin itself. Thanks!