[pmwiki-users] preformatted text

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 12 08:12:30 CDT 2005


On Fri, Aug 12, 2005 at 08:58:26AM -0400, Neil Herber wrote:
> This looks like the best to me. I am not a fan of the "leading space [=" 
> markup.
> 
> How would the following lines be rendered?
> 
> [@I hope this monospaced text is left justified.@]

Left justified.

> [@       Will this monospaced text be indented
> or just the first line?@]

Just the first line is indented (i.e., the way it looks).

>        [@Will this monospaced text be indented
> or just the first line?@]

Just the first line is indented (i.e., the way it looks).

HOWEVER(!), the following seems to work:

    --> [@
    This text block is 
    preformatted and indented.
    @]

as well as

    %block margin-left=100px% [@
    This text is preformatted
    and indented.
    @]

and of course

    >>margin-left=100px border="2px dotted blue"<< [@
    This text is preformatted 
    and indented, and inside a box.
    @]
    >><<

and even

    >>rframe<< [@
    This text is preformatted
    inside of a right-floating frame. @]
    >><<

Pm




More information about the pmwiki-users mailing list