Skip to content

Code Blocks

Markdown code block

const foo = 'bar'

<Code> component

const foo = 'bar'

Text markers

function test() {
const foo = 'bar'
}
function test() {
const foo = 'bar'
}

Diff

function test() {
const foo = 'bar'
const foo = 'baz'
}

File name

test.js
const foo = 'bar'

Terminal window

Doing something…
pnpm run thing