diff options
| author | Patrick H. Lauke <[email protected]> | 2015-12-25 13:49:16 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2015-12-25 13:49:16 +0000 |
| commit | 68e0b01ac8137f835487612b59389c3691ae1061 (patch) | |
| tree | 52c7c63052ffdcd360b7db6a69548bc7fefc6600 | |
| parent | 25a36729bc7a1e62e164fea53b662f653a937b7f (diff) | |
| download | bootstrap-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...
| -rw-r--r-- | docs/content/code.md | 4 |
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><section></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><p>Sample text here...</p></pre> +<pre><code><p>Sample text here...</p> +<p>And another line of sample text here...</p> +</code></pre> {% endexample %} ## Variables |
