Anchor

Use the <Anchor> component to create links to specific paragraphs, tables, and other sections of content that don’t have headings. Wrap your content with the <Anchor> tag and assign it a custom anchor ID, which you can link to in URLs using the hash symbol (example: https://website.com/page#data).

Headings automatically generate anchor links based on their text content, so you don’t need to use the <Anchor> component for headings.

This sentence has a custom anchor

You can link to it using #data in the URL.

EndpointMethodDescription
/usersGETRetrieve all users
/users/:idGETRetrieve a specific user
/usersPOSTCreate a new user

You can link directly to the API endpoints table.

1def authenticate(api_key):
2 """Authenticate using your API key"""
3 headers = {"Authorization": f"Bearer {api_key}"}
4 return requests.get("https://api.example.com/auth", headers=headers)

Reference the authentication code example in your implementation.

Properties

id
stringRequired

The anchor ID for this content. Reference it in URLs using the hash (example: #data)