line breaks

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

line breaks

a@kid
Just wondering why line breaks are not part of wikitext?

Is there a way to enable them
so that if a user adds a line break in the edit box
it is displayed as a line break when the page is rendered?

thanks
/m
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: line breaks

Brion Vibber
a@kid wrote:
> Just wondering why line breaks are not part of wikitext?
>
> Is there a way to enable them
> so that if a user adds a line break in the edit box
> it is displayed as a line break when the page is rendered?

Two newlines create a paragraph break. Adjacent lines, with no blank line in
between, merge into a single paragraph.

If for some weird reason you actually want a line break *inside a paragraph*
(this is very rare) you can use <br>.

-- brion vibber (brion @ pobox.com)


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

signature.asc (257 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: line breaks

Tim Starling
Brion Vibber wrote:
> Two newlines create a paragraph break. Adjacent lines, with no blank line in
> between, merge into a single paragraph.
>
> If for some weird reason you actually want a line break *inside a paragraph*
> (this is very rare) you can use <br>.

You've obviously never run a poetry wiki ;)

-- Tim Starling

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: line breaks

Elliott F. Cable
Not necessarily - the poem extension is a gift from heaven!

On May 4, 2006, at 7:51 PM, Tim Starling wrote:

> Brion Vibber wrote:
>> Two newlines create a paragraph break. Adjacent lines, with no  
>> blank line in
>> between, merge into a single paragraph.
>>
>> If for some weird reason you actually want a line break *inside a  
>> paragraph*
>> (this is very rare) you can use <br>.
>
> You've obviously never run a poetry wiki ;)
>
> -- Tim Starling
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l