Code and preformatted text
Scoped base styles provide a monospace treatment for native <code> and<pre>. A code block remains ordinary selectable HTML with horizontal overflow when necessary.
<p>Use <code>npm run check</code> before publishing.</p>
<pre><code>const value = 42;
console.log(value);</code></pre>Use inline code for short tokens and pre > code for blocks.
Optional copy enhancement
Add data-mr-copyable to a <pre> when you want the optional copy button. See Copyable snippet.