inserting a single line break..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

inserting a single line break..

sergio_101-2
how would l go about making some text render like so:

this is a few lines
that i want to have break
in specified places rather
than have a space between
them

to insert a line break, i have to add two.. and i end up with this..

this is a few lines

that i want to have break

in specified places rather

than have a space between

them

any ideas?

thanks!


--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: inserting a single line break..

Tudor Girba-2
I use {{{<br/>}}}. So, you would have:

this is a few lines{{{<br/>}}}
that i want to have break{{{<br/>}}}
in specified places rather{{{<br/>}}}
than have a space between{{{<br/>}}}
them

Doru


On 5 Feb 2012, at 07:49, sergio_101 wrote:

> how would l go about making some text render like so:
>
> this is a few lines
> that i want to have break
> in specified places rather
> than have a space between
> them
>
> to insert a line break, i have to add two.. and i end up with this..
>
> this is a few lines
>
> that i want to have break
>
> in specified places rather
>
> than have a space between
>
> them
>
> any ideas?
>
> thanks!
>
>
> --
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.CodingForHire.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
www.tudorgirba.com

Things happen when they happen,
not when you talk about them happening.

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: inserting a single line break..

John Borden
In reply to this post by sergio_101-2
In the standard pier editor, I would use:

this is a few lines{{{<br />}}}
that i want to have break{{{<br />}}}
in specified places rather{{{<br />}}}
than have a space between{{{<br />}}}
them

Where are you rendering this from? 

Thanks, 
John

On Feb 5, 2012, at 0:49, sergio_101 <[hidden email]> wrote:

how would l go about making some text render like so:

this is a few lines
that i want to have break
in specified places rather
than have a space between
them

to insert a line break, i have to add two.. and i end up with this..

this is a few lines

that i want to have break

in specified places rather

than have a space between

them

any ideas?

thanks!


--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: inserting a single line break..

Nick
You can also use a paragraph annotation then use css to apply the styling [1]. For example:

this is a few lines
that i want to have break
@@breakout in specified places rather
than have a space between

will produce a paragraph:
<p class="annotated breakout">in specified places rather</p>

Then you can use css to style the paragraph with extra space - indentation etc and you can use semantics names indicate what is special about a block of text. 

[1] http://www.piercms.com/doc/syntax

On 5 February 2012 20:07, John Borden <[hidden email]> wrote:
In the standard pier editor, I would use:

this is a few lines{{{<br />}}}
that i want to have break{{{<br />}}}
in specified places rather{{{<br />}}}
than have a space between{{{<br />}}}
them

Where are you rendering this from? 

Thanks, 
John

On Feb 5, 2012, at 0:49, sergio_101 <[hidden email]> wrote:

how would l go about making some text render like so:

this is a few lines
that i want to have break
in specified places rather
than have a space between
them

to insert a line break, i have to add two.. and i end up with this..

this is a few lines

that i want to have break

in specified places rather

than have a space between

them

any ideas?

thanks!


--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: inserting a single line break..

sergio_101-2
thanks! i have always used the {{{<br/>}}} method.. but i knew there
was probably a cleaner way to do it..

On Mon, Feb 6, 2012 at 6:31 AM, Nick Ager <[hidden email]> wrote:

> You can also use a paragraph annotation then use css to apply the styling
> [1]. For example:
>
>> this is a few lines
>> that i want to have break
>> @@breakout in specified places rather
>>
>> than have a space between
>
>
> will produce a paragraph:
>>
>> <p class="annotated breakout">in specified places rather</p>
>
>
> Then you can use css to style the paragraph with extra space - indentation
> etc and you can use semantics names indicate what is special about a block
> of text.
>
> [1] http://www.piercms.com/doc/syntax
>
>
> On 5 February 2012 20:07, John Borden <[hidden email]> wrote:
>>
>> In the standard pier editor, I would use:
>>
>> this is a few lines{{{<br />}}}
>> that i want to have break{{{<br />}}}
>>
>> in specified places rather{{{<br />}}}
>>
>> than have a space between{{{<br />}}}
>>
>> them
>>
>>
>> Where are you rendering this from?
>>
>> Thanks,
>> John
>>
>> On Feb 5, 2012, at 0:49, sergio_101 <[hidden email]> wrote:
>>
>> how would l go about making some text render like so:
>>
>> this is a few lines
>> that i want to have break
>> in specified places rather
>> than have a space between
>> them
>>
>> to insert a line break, i have to add two.. and i end up with this..
>>
>> this is a few lines
>>
>> that i want to have break
>>
>> in specified places rather
>>
>> than have a space between
>>
>> them
>>
>> any ideas?
>>
>> thanks!
>>
>>
>> --
>> ----
>> peace,
>> sergio
>> photographer, journalist, visionary
>>
>> http://www.CodingForHire.com
>> http://www.coffee-black.com
>> http://www.painlessfrugality.com
>> http://www.twitter.com/sergio_101
>> http://www.facebook.com/sergio101
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>>
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki



--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki