Do not show heading anchor links in Duo chat messages
What does this MR do and why?
We use GLFM to render markdown for Duo chat messages, which by default provides anchor links to headings.
However, it is not possible to link another user to a Duo chat message, and it isn't even feasible to share/bookmark a link for yourself to one. These links should not be shown in Duo chat messages.
They are, anyway, positioned in such a way that they cannot be interacted with currently. They are a total no-op.
References
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-08-14_at_15.52.51 | Screen_Recording_2025-08-14_at_15.52.24 |
How to set up and validate locally
- Check out this branch
- in the GDK, ask Duo to explain or summarize an issue or MR. That will prompt it to reply to you with a message that contains headings.
- Hover over one of the headings in the message. You will not see an anchor icon link at the left of the heading.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #548836 (closed)