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 < Bernhard.Scheid@oeaw.ac.at> 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: mediawiki-l-bounces@lists.wikimedia.org [mailto: mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Frank Ralf Gesendet: Mittwoch, 14. April 2010 13:10 An: mediawiki-l@lists.wikimedia.org 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 MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l