Skip to main content
Glama
location.md738 B
# Location Identifies an element in the document. A location uniquely identifies an element in the document and lets you access its absolute position on the pages. You can retrieve the current location with the [`here`] function and the location of a queried or shown element with the [`location()`]($content.location) method on content. # Locatable elements { #locatable } Currently, only a subset of element functions is locatable. Aside from headings and figures, this includes equations, references, quotes and all elements with an explicit label. As a result, you _can_ query for e.g. [`strong`] elements, but you will find only those that have an explicit label attached to them. This limitation will be resolved in the future.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FujishigeTemma/typst-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server