LedgerIt

HighlightedCode

Fenced blocks in the documentation and the API reference's examples render through HighlightedCode. Each scope takes its syntax colour, a Geist 900 step that holds in both themes, and strings are teal so green still means money. Bash, JSON and TypeScript are highlighted; any other language prints plain.

import { LedgerIt } from "@ledgerit/sdk";

const client = new LedgerIt(); // reads LEDGERIT_TOKEN
const page = await client.transactions.list({ limit: 50, status: ["needs_review"] });
import { HighlightedCode } from "@/components/ledgerit"