Both work for single line code, but I have no idea how to make it working
for multiline code. I also tried <source> tag.

On Wed, Apr 14, 2010 at 1:35 PM, Scheid, Bernhard <
[email protected]> wrote:

> It may also work with <br/>:
>
> # step 1
> # step 2
> # step 3<br/><code>multi-line code </code>
> # step 4
> # step 5
>
> Bernhard
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:
> [email protected]] Im Auftrag von Frank Ralf
> Gesendet: Mittwoch, 14. April 2010 13:10
> An: [email protected]
> Betreff: Re: [Mediawiki-l] code tags break the numbering in lists
>
> Hi Jan,
>
> > At "step 4" numbering restarts from "1".
> > How should I insert the code in the numbered lists?
>
> Try something like the following, inserts a line break without forcing
> renumbering, don't know whether this will work for multi-line code, though:
>
> # step 1
> # step 2
> # step 3
> # : <code>multi-line code </code>
> # step 4
> # step 5
>
> hth
> Frank
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to