On Sat, 3 Mar 2007, John Hannfield wrote:

Hello all,

Is there an easy markup way to do a block of preformatted
text with a nice border and shaded background? I have been using:

%block bgcolor=#dedede border='1px solid gray' padding=5px%[@
text goes here
@]

But it is a pain to keep typing all the time.
I'd like something short like %myblock1

%define=myblock1 block bgcolor=#dedede border='1px solid gray' padding=5px%%%

%myblock1%[@
text goes here
@]


/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to