[pmwiki-users] block preformat, spaceless?

Radu radu at monicsoft.net
Thu Mar 17 13:52:03 CST 2005


   [= some code here

more code

more

until you're done, then =]


At 01:44 PM 3/17/2005, you wrote:
>Hello,
>
>Is there a way to do spaceless block preformat - that is, preformat 
>multiple lines without prefixing each line with a single space?
>
>The first reason is that I wish to include snippets of code (specifically, 
>awk script and Python programs) by cutting/pasting, and I want the reader 
>to be able to select/copy from the web browser and paste into their editor 
>directly.  Currently, if I prefix each line with a single space to get the 
>preformatting, the reader's select/copy would pick up the leading space 
>requiring them to delete it.
>
>The second reason is that MoinMoin does it!  Heh heh...
>
>I was hoping the "[@  @]" or "@@ ... @@" construct would break across 
>lines.  Currently, "@@" sort of works, but it requires adding "\\" to the 
>end of each line, and then it deletes all other leading spaces.
>
>Is there a way to have spaceless multiple-line preformatting?
>
>PS: This is a personal communication from an account that has 
>keyword-based spam filtering enabled.  Please preserve the original 
>subject line when replying.  (Adding "Re:" is okay.)
>
>
>_______________________________________________
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users

Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list