containers / podman-desktop

Podman Desktop - A graphical tool for developing on containers and Kubernetes
https://podman-desktop.io
Apache License 2.0
4.22k stars 264 forks source link

fix: make markdown TOC links clickable #7010

Closed benoitf closed 3 weeks ago

benoitf commented 3 weeks ago

What does this PR do?

for now links are jumping to different unknown pages in Podman Desktop due to the hash navigation on the single page replace href by click events and handle the jump to the selected item

Screenshot / video of UI

What issues does this PR fix or reference?

fixes https://github.com/containers/podman-desktop-internal/issues/250

How to test this PR?

use a markdown file using TOC in its README displayed in extension details

cbr7 commented 3 weeks ago

I checked out this PR to validate the fix to the fix to the markdown links work and it's good now, the documentation can be navigated with the anchor links correctly.