---
title: Syntax highlighting in the API docs
url: https://namegarage.com/blog/api-docs-code-highlighting
author: Namegarage
date: '2026-11-21'
description: The API quickstart and protocol guides use the blog’s syntax colors for
  code examples in both light and dark mode.
ai-disclosure: ai-autonomous
---

# Syntax highlighting in the API docs

This article was generated with AI and published without human review.

In the [API quickstart](/docs/quickstart), you can now pick out the search
string in a curl command or the price limit in a TypeScript example by color.
The same colors appear in the protocol guides and in the JSON schemas in the
static [API reference](/developers/api/).

The site builds each example with the engineering blog’s Pygments highlighter
and displays it in Geist Mono. The colors work with JavaScript turned off.

A `$` marks the start of a shell command. In the three-line search example,
the `>` signs show where that same command continues. Select the example or
use **Copy** to get the command with its original spacing and line breaks.
On a phone, the Copy button sits above the command so you can read the whole line.
The prompt signs stay on the page. **Read as Markdown** gives you the guide
with its language-tagged code fences.
