Should rustdoc support links in headings? #100254
Labels
A-markdown-parsing
Area: Markdown parsing for doc-comments
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Markdown allows links to appear in headings, but rustdoc doesn't (properly) support this. @GuillaumeGomez had a PR to implement this: #94360. However, supporting this feature makes other parts of rustdoc's UI worse: Currently, rustdoc makes headers link to themselves (to make grabbing a link to the header easier). If we supported user links in headers, this wouldn't work anymore. We could use “§”, but it presents a small click target and adds visual noise. So, more discussion is needed.
The text was updated successfully, but these errors were encountered: