Help:Script Samples: Difference between revisions

Content deleted Content added
Tag: 2017 source edit
 
(3 intermediate revisions by 2 users not shown)
Line 349:
 
== Indenting <code>&lt;pre&gt;</code> tags ==
{{Caution|The only reliable way to get indents with <code>&lt;pre></code> tags is to use: <code>{{indent{{!}}&lt;pre> code here &lt;p/pre>}}</code>,; for<br /> For <code>&lt;code></code> and <code>&lt;syntaxhighlight></code> tags a <code>:</code> works fine}}
 
 
Line 358:
 
 
{{Note|There is something intermittent about the method below working which I haven't figured out yet. It doesn't render correctly below but it does on other pages}}
 
[[File:Pre in a numbered list.png]]
}}
 
 
Line 374 ⟶ 377:
|
# one
#:<pre class=scroll>
#::some stuff
#::some more stuff</pre>
</pre>
# two
|}