Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linkable anchors to headings #4

Open
jaskij opened this issue Apr 24, 2024 · 0 comments
Open

Add linkable anchors to headings #4

jaskij opened this issue Apr 24, 2024 · 0 comments

Comments

@jaskij
Copy link

jaskij commented Apr 24, 2024

A colleague will be implementing statistics we can read with a generic plugin. I want to send him a link to the plugin's documentation so he can see if there is anything special he needs to do. It's not one of the plugins that has it's own page. If there is an option to do it, I do not know how to it. Iirc it was possible on the old wiki.

A lot of websites simply add anchors to headings. The first example that comes to mind is the systemd.unit manual. Notice how when you mouse over any heading a small ¶ is displayed, and when you click on it, the address in your browser is changed to include the anchor for that heading. If you don't care about the "appear only on mouseover" effect, this can be done in pure HTML, with no JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant