Skip to content

Add linkable anchors to headings #4

Open
@jaskij

Description

@jaskij

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions