Code To denote a word or phrase as code, enclose it in backticks (`). Markdown HTML Rendered Output At the command prompt, type `nano`. At the command prompt, type <code>nano</code>. At the command prompt, type nano. Escaping Backticks If the word or phrase you want to denote as code includes one or more backticks, you can escape it by enclosing the word or phrase in double backticks (``). Markdown HTML Rendered Output ``Use `code` in your Markdown file.`` <code>Use `code` in your Markdown file.</code> Use `code` in your Markdown file. Code Blocks To create code blocks, indent every line of the block by at least four spaces or one tab. <html> <head> </head> </html> The rendered output looks like this: <html> <head> </head> </html> Note: To create code blocks without indenting lines, use fenced code blocks. This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license. Code To denote a word or phrase as code, enclose it in backticks ( ` ). ` Markdown HTML Rendered Output At the command prompt, type `nano`. At the command prompt, type <code>nano</code>. At the command prompt, type nano. Markdown HTML Rendered Output At the command prompt, type `nano`. At the command prompt, type <code>nano</code>. At the command prompt, type nano. Markdown HTML Rendered Output Markdown Markdown HTML HTML Rendered Output Rendered Output At the command prompt, type `nano`. At the command prompt, type <code>nano</code>. At the command prompt, type nano. At the command prompt, type `nano`. At the command prompt, type `nano`. At the command prompt, type `nano`. At the command prompt, type <code>nano</code>. At the command prompt, type <code>nano</code>. At the command prompt, type <code>nano</code>. At the command prompt, type nano. At the command prompt, type nano . nano Escaping Backticks If the word or phrase you want to denote as code includes one or more backticks, you can escape it by enclosing the word or phrase in double backticks ( `` ). `` Markdown HTML Rendered Output ``Use `code` in your Markdown file.`` <code>Use `code` in your Markdown file.</code> Use `code` in your Markdown file. Markdown HTML Rendered Output ``Use `code` in your Markdown file.`` <code>Use `code` in your Markdown file.</code> Use `code` in your Markdown file. Markdown HTML Rendered Output Markdown Markdown HTML HTML Rendered Output Rendered Output ``Use `code` in your Markdown file.`` <code>Use `code` in your Markdown file.</code> Use `code` in your Markdown file. ``Use `code` in your Markdown file.`` ``Use `code` in your Markdown file.`` ``Use `code` in your Markdown file.`` <code>Use `code` in your Markdown file.</code> <code>Use `code` in your Markdown file.</code> <code>Use `code` in your Markdown file.</code> Use `code` in your Markdown file. Use `code` in your Markdown file. Use `code` in your Markdown file. Code Blocks To create code blocks, indent every line of the block by at least four spaces or one tab. <html> <head> </head> </html> <html> <head> </head> </html> The rendered output looks like this: <html> <head> </head> </html> <html> <head> </head> </html> Note: To create code blocks without indenting lines, use fenced code blocks. Note: To create code blocks without indenting lines, use fenced code blocks . Note: fenced code blocks This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license. This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license. Matt Cone Markdown Guide