How to get the page number of a marker

whoops, I think you need brackets (edited to reflect Andrew’s feedback):

#context [#metadata(here().page())<crfhere>]

because otherwise, the label is attached to the context instead of the metadata

I’ll edit my original answer to reflect that

2 Likes