Discussions » Greasy Fork Feedback

Is it possible to create navigable links for an index?

§
Posted: 2026-05-14

I want to create a clickable index that takes the user to other locations in the document. Doesn't seem to be supported in HTML or markdown. Can't post examples here because they get rendered and don't show up.

§
Posted: 2026-05-14

Like this?

Like [this](#comment-648766)?
§
Posted: 2026-05-15

It works when I click yours, but it's not working for me in my script description. I use this for the link:

<href="#doc">Documentation</a>

..and this for the target:

[Documentation](#doc)

Clicking it just does nothing.

§
Posted: 2026-05-15

For the target of the link, you should be using a name attribute without the #, not a href attribute. And note that it doesn't have to be an <a> element either.

Link goes here
<div name="testlink">Link goes here</div>

Link

[Link](#testlink)
§
Posted: 2026-05-15

not working on my description page. let me try it here.

clickable








































target location
§
Posted: 2026-05-15

i don't get it. also, i see why your original worked. it seems that your anchor points to an existing ID'd tag.

your anchor:

<a href="#comment-648766">this</a>

that points to the page's generated html here:

<div class="comment" id="comment-648782">

ID's are stripped out on updates, but your clickable was able to target the generated link. i haven't yet seen where you've defined both, the anchor you click on AND the target. the one you just did in your last comment doesn't work, either, though i can see the # in the url.

and the markdown i used to define the clickable in my last comment is:

[clickable](#target)

§
Posted: 2026-05-15

Sorry, I got the details wrong on this.

You can target any element with an id attribute. You can target an a element with a name attribute. You cannot target other elements with name attributes.

Greasy Fork does not allow you use the id attribute as that could potentially interfere with the page's functionality. So your only option is to use a with name.

Link

[Link](#workingexample)

Target

<a name="workingexample">Target</a>
§
Posted: 2026-05-15

that works! thanks

clickable






































target

Post reply

Sign in to post a reply.