Help:Script Samples: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) Tag: 2017 source edit |
||
| (4 intermediate revisions by 2 users not shown) | |||
Line 349:
== Indenting <code><pre></code> tags ==
{{Caution|The only reliable way to get indents with <code><pre></code> tags is to use: <code>{{indent{{!}}<pre> code here <p/pre>}}</code>
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
#
#::some stuff
#::some more stuff
</pre>
# two
|}
Line 418 ⟶ 422:
<pre>
;Same works for
:<code>Indented code snippet</code>
</pre>
;Same works for code tags:
:<code>Indented code snippet</code>
| |||