Commit 68e0b01a authored by Patrick H. Lauke's avatar Patrick H. Lauke
Browse files

Fix code block example

use `<code>` (as it's still semantically code that we're marking up) and
make the example actually multiple lines...
parent 25a36729
Showing with 3 additions and 1 deletion
+3 -1
......@@ -24,7 +24,9 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
Or, code blocks. Use `<pre>`s 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 `.pre-scrollable` class, which will set a max-height of 350px and provide a y-axis scrollbar.
{% example html %}
<pre>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>
<pre><code>&lt;p&gt;Sample text here...&lt;/p&gt;
&lt;p&gt;And another line of sample text here...&lt;/p&gt;
</code></pre>
{% endexample %}
## Variables
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment