Markdown guide · Text

Inline code

Wrap code, file names and commands in `backticks`.

Backticks mark text as code. It's shown in a fixed-width font and nothing inside is formatted, so symbols like * and _ stay as they are.

You type
Run `npm install`, then open `settings.json`.
You get

Run npm install, then open settings.json.

To show a backtick inside code, wrap it in double backticks with spaces inside.

You type
``Use `code` for inline code.``
You get

Use `code` for inline code.

Ctrl+Shift+CInline code
Tip For more than one line of code, use a code block.
Write Markdown without memorizing it.

Prosedown shows your document styled as you type, with the Markdown one click away. This guide is built in: press F1.

Try it free for 14 days