Skip to content

code

code(text, language?): object

Monospaced output with Copy, e.g. a formatted response body.

Parameter Type
text string
language? string

object

optional language?: string

text: string

type: "code"