Titles

Use section headers to organize your AgentSerp documentation.
## Authentication
## API Reference

Subtitles

Use for endpoint-specific or feature-specific sections.
### POST /search
### Error Handling
Each title and subtitle creates an anchor and also shows up on the table of contents on the right.

Text Formatting

Standard markdown formatting is supported. Use **, _, or ~ for bold, italic, or strikethrough.
StyleHow to write itResult
Bold**bold**bold
Italic_italic_italic
Strikethrough~strikethrough~strikethrough
You can combine these. For example, **_important_** renders as important.

Linking to AgentSerp API Docs

To link to an endpoint page, use root-relative links:
[Search Endpoint](/api-reference/endpoint/search)

Blockquotes

Use blockquotes to highlight important AgentSerp API usage notes.
> Always include your Bearer token in the Authorization header.

Code and API Examples

Use fenced code blocks for API requests and responses:
curl -X POST https://api.agentserp.com/search \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"query": "openai"}'

Math and LaTeX

AgentSerp docs support math and formulas using LaTeX syntax in code blocks or with supported math plugins.
\text{score} = \frac{\text{relevant results}}{\text{total results}}
For advanced math rendering, see the Mintlify documentation on math/LaTeX support.