[pmwiki-users] Easy pre blocks?
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Sat Mar 3 09:19:55 CST 2007
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
More information about the pmwiki-users
mailing list