4.2 Showing computing code fragments
The HTML tag <code> is an inline tag that can be used to indicate snippets of computer code within sentences. However to use this tag authors must switch to HTML mode to enter it.
The ‘preformatted’ option in the format menu of the editor is an alternative for showing blocks of code in a different font.
However the font for <pre> and <code> is different. If you wish to mix inline and block code snippets and keep the font consistent you will probably have to amend preformatted blocks with <pre><code>…</code></pre> again by putting the editor into HTML mode.
4 Tips and Tricks