Skip to content
Turbo Start Brain

Code and callouts

Code blocks with filenames and syntax colours, and the four callout variants.

On this page

Code blocks

Pick a language to get syntax colours and the right fence in the Markdown version. Add a filename when the reader needs to know where the code goes.

lib/greet.ts
export function greet(name: string): string {
  return `Hello, ${name}`;
}
def greet(name: str) -> str:
    return f"Hello, {name}"
config.yml
site:
  title: Docs
  search: true

Callouts

Callouts pull one fact out of the flow. Pick the variant by consequence.