Code

Inline

Wrap inline snippets of code with <code>.

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

Basic block

Use <pre> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.

<p>Sample text here...</p>
  1. <pre>
  2. &lt;p&gt;Sample text here...&lt;/p&gt;
  3. </pre>

Heads up! Be sure to keep code within <pre> tags as close to the left as possible; it will render all tabs.

You may optionally add the .pre-scrollable class which will set a max-height of 350px and provide a y-axis scrollbar.

Leave a Reply

Your email address will not be published. Required fields are marked *

Instant Download of your Work

Print anywhere - anytime

Dedicated Live Support

Free Customization Service