[pmwiki-users] Easy pre blocks?

John Hannfield hal9020 at gmail.com
Sat Mar 3 06:12:10 CST 2007


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

I tried making it a custom markup entry in local.cf but it doesn't seem
to be applied.
Thanks,
-- 

John



More information about the pmwiki-users mailing list