Skip to content

Commit

Permalink
Unescaped Markup: Fix ambiguity in documentation by improving examples.
Browse files Browse the repository at this point in the history
Fix #1197
  • Loading branch information
Golmote committed Dec 5, 2017
1 parent a31f490 commit 924784a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions plugins/unescaped-markup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ <h1>How to use</h1>
<p>This plugin provides several methods of achieving the same thing:</p>

<ul>
<li>Instead of using <code>&lt;pre>&lt;code></code> elements, use <code>&lt;script type="text/plain"></code></li>
<li>Instead of using <code>&lt;pre>&lt;code></code> elements, use <code>&lt;script type="text/plain"></code>
<pre><code>&lt;script type="text/plain" class="language-markup">
&lt;p>Example&lt;/p>
&lt;/script></code></pre>
</li>
<li>Use a HTML-comment to escape your code
<pre><code>&lt;pre>&lt;code>&lt;!--
<pre><code>&lt;pre class="language-markup">&lt;code>&lt;!--
&lt;p>Example&lt;/p>
-->&lt;/pre>&lt;/code></code></pre></li>
-->&lt;/code>&lt;/pre></code></pre></li>
</ul>
</section>

Expand Down

0 comments on commit 924784a

Please sign in to comment.