## [Monospace in Confluence: How to Format Inline Code (Shortcuts & Markdown)](/blog/confluence-monospace.md)

October 1, 2026 ·

<!-- -->

5 min read

[NGPilot](https://ngpilot.com)

Quick Answer

Select the text and press **Ctrl+Shift+M** (Windows) or **Opt+Shift+M** (Mac) to apply inline code, or type `` `backticks` `` around text as you write — the Confluence Cloud editor autoformats them. Pasted Markdown keeps its backticks as literal characters, so paste into [Enhanced Markdown for Confluence](https://marketplace.atlassian.com/apps/1237026/enhanced-markdown-for-confluence/) instead, which renders inline code, code blocks, and diagrams from your Markdown source.

Inline code — monospace text on a subtle background — is how you mark up variable names, file paths, key names, and short commands inside a sentence: set `MAX_RETRIES = 3`, edit `~/.zshrc`, or run `kubectl get pods`. Confluence Cloud has three ways to produce it, and each fits a different moment: formatting as you go, typing Markdown, or bringing Markdown in from your repo.

What you'll learn

1. The keyboard shortcut — Ctrl+Shift+M, and the Mac split between Opt+Shift+M and Cmd+Shift+M
2. Backtick autoformatting while you type
3. The Markdown method for pasted content (Enhanced Markdown)
4. Inline code vs code block — which one to use where

**Tags:**

* [confluence](/blog/tags/confluence.md)
* [formatting](/blog/tags/formatting.md)
* [markdown](/blog/tags/markdown.md)
* [monospace](/blog/tags/monospace.md)
* [inline-code](/blog/tags/inline-code.md)
* [enhanced-markdown](/blog/tags/enhanced-markdown.md)
* [keyboard-shortcuts](/blog/tags/keyboard-shortcuts.md)

[**Read more**](/blog/confluence-monospace.md)
