You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Util: Move toc ID in parseMarkdown from icon to heading
Currently, the heading IDs are not actually on the heading
elements. This means that scrapers such as Algolia and
Typesense often link text excerpts under a heading to
something far away like `#content` instead of the nearest
preceeding heading.
For semantics, and to benefit search suggestions, I think the
heading IDs are better suited on headings.
Closesgh-90
Ref jquery/infrastructure-puppet#33
0 commit comments