Hi Ray, If sentance is several lines long just write it in the wiki editor as a single sentance (don't use "ENTER" key in between the sentance to move to next line. Editor will go to new line automatically when one line is completed). Hope you get what I am trying to say.
Regards! Kirti
Hi Kirti,
Thanks for your reply! I see what you mean...so the only way it works is if "Some stuff" is a single line? And then, I place the <pre> right after the item. It doesn't work if it is several lines long?
Ray
kirti.patel@dolcera.com wrote:
Hi Ray, Use following wiki text to get sequence number.
# Item A<pre>Some stuff</pre> # Item B
Best Regards! KIRTI M PATEL
Hi all,
I'm still new to MediaWiki and the wiki language in general. I've been trying to add preambles into numbered lists (for, say, source code), but the lists gets renumbered. So, for example:
# Item A
<pre> Some stuff </pre>
# Item B
In this case, Item B gets the number 1, instead of 2 (which is what I want). I know whitespace is suppose to start a new list...so, I thought that meant this would make Item B #1:
# Item A
<pre> Some stuff </pre>
# Item B
Perhaps I don't quite understand what is meant by whitespace? Is there some way I can do <pre> while having the numbering continue? Am I doing something else wrong?
Thank you!
Ray
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l