File tree 1 file changed +13
-5
lines changed 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,23 @@ <h1>How to use</h1>
24
24
< p > This plugin provides several methods of achieving the same thing:</ p >
25
25
26
26
< ul >
27
- < li > Instead of using < code > <pre> <code> </ code > elements, use < code > <script type="text/plain"> </ code >
28
- < pre > < code > <script type="text/plain" class="language-markup">
27
+ < li >
28
+ Instead of using < code > <pre> <code> </ code > elements, use < code > <script type="text/plain"> </ code > :
29
+
30
+ < pre > < code > <script type="text/plain" class="language-markup">
29
31
<p> Example</p>
30
32
</script> </ code > </ pre >
31
33
</ li >
32
- < li > Use a HTML-comment to escape your code
33
- < pre > < code > <pre class="language-markup"> <code> <!--
34
+ < li >
35
+ Use an HTML-comment to escape your code:
36
+
37
+ < pre > < code > <pre class="language-markup"> <code> <!--
34
38
<p> Example</p>
35
- --> </code> </pre> </ code > </ pre > </ li >
39
+ --> </code> </pre> </ code > </ pre >
40
+
41
+ This will only work if the < code > code</ code > element contains exactly one comment and nothing else (not even spaces).
42
+ E.g. < code > <code> <!-- some text --> </code> </ code > and < code > <code> text<!-- more text --> </code> </ code > will not work.
43
+ </ li >
36
44
</ ul >
37
45
</ section >
38
46
You can’t perform that action at this time.
0 commit comments