Code

Inline code

Within or on its own wrap inline code snippets with the <code> elements. This sets the font-family to use $global-mono-font-family: Consolas, monaco, monospace !default;.

Example

Example code inline element

<code>...</code>

Keyboard input

Use the <kbd> to defines keyboard input.

Example

Example kbd inline element

<kbd>...</kbd>

Preformatted text

Use <pre> for multiple lines of code or preformatted text.

Example
pre example text...
<pre>...</pre>

Related content