Code

Inline code

For example, <section> should be wrapped as inline.
For example, <code>&lt;section&gt;</code> should be wrapped as inline.

Code blocks

<p>Sample text here...</p>
<p>And another line of sample text here...</p>
                            
<pre><code>&lt;p&gt;Sample text here...&lt;/p&gt;
&lt;p&gt;And another line of sample text here...&lt;/p&gt;
</code></pre>

Variables

y = mx + b
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>

User input

To switch directories, type cd followed by the name of the directory.
ctrl + , To edit settings, press
To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br>
<kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd> To edit settings, press

Sample output

This text is meant to be treated as sample output from a computer program.
<samp>This text is meant to be treated as sample output from a computer program.</samp>