aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2015-12-25 13:49:16 +0000
committerPatrick H. Lauke <[email protected]>2015-12-25 13:49:16 +0000
commit68e0b01ac8137f835487612b59389c3691ae1061 (patch)
tree52c7c63052ffdcd360b7db6a69548bc7fefc6600 /docs
parent25a36729bc7a1e62e164fea53b662f653a937b7f (diff)
downloadbootstrap-68e0b01ac8137f835487612b59389c3691ae1061.tar.xz
bootstrap-68e0b01ac8137f835487612b59389c3691ae1061.zip
Fix code block example
use `<code>` (as it's still semantically code that we're marking up) and make the example actually multiple lines...
Diffstat (limited to 'docs')
-rw-r--r--docs/content/code.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/content/code.md b/docs/content/code.md
index 43779ebb2..f9046c7e4 100644
--- a/docs/content/code.md
+++ b/docs/content/code.md
@@ -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