Back to cheat sheet

Inline code

Wrap text in backticks (`) to show it in a monospace code font.

Markdown
Use the `printf()` function.
Preview

Use the printf() function.

HTML output
<p>Use the <code>printf()</code> function.</p>

Tip — If your code contains a backtick, wrap it in double backticks.

Open in converter