Code
Examples for displaying inline and multi-line blocks of code.
Inline
Wrap inline snippets of code with <code>. Be sure to escape HTML angle brackets.
For example, <section> should be wrapped as inline.
Block
We use <pre> for multiple lines of code. Once again, be sure to escape any angle brackets in the code for proper rendering. You may optionally add the .-scrollable modifier, which will set a max-height and provide a y-axis scrollbar.
<p>Sample text here...</p>
<p>And another line of sample text here...</p>
Variables
For indicating variables use the HTML5 <var> tag.
y = mx + b
User Input
You can use the <kbd> to indicate input that is typically entered via keyboard.
To switch directories, type cd followed by the name of the directory.
To edit settings, press ctrl + ,
Sample Output
You can use the <samp> for indicating sample output from a program.
This text is meant to be treated as sample output from a computer program.