Inline code

What is Inline code?

Text wrapped in single backticks (`like this`) that renders in a fixed-width, typewriter-style font — used for commands, filenames, or short snippets inside a sentence.

Why it matters

It visually separates literal text — a command you should type exactly — from the surrounding prose.

How it works

Wrap the text in a single backtick on each side.

Examples

  • `` `pnpm dev` `` → pnpm dev

Back to the glossary