URL that jumps to a specific item on a page?

When I create a link with my app I can create one that jumps to a page easily enough, e.g. a href that is:

`/wiki/spaces/${context.spaceKey}/pages/${myConfluencePageId}`

But there are items on that page that have a localId. Could I create an URL that jumps to such a location directly and not just to the page itself?

Specifically, a macro I have created myself. I was thinking about putting simply an anchor in, while rendering. Would that work?

1 Like