[pmwiki-users] create a shortcut markup string

Menachem Shapiro menachem.shapiro at gmail.com
Mon Jan 31 22:25:32 CST 2005


B"H
On Mon, 31 Jan 2005 21:50:34 -0600, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> On Mon, Jan 31, 2005 at 04:43:25PM -0800, Menachem Shapiro wrote:
> > On Mon, 31 Jan 2005 17:10:49 -0600, Patrick R. Michaud wrote:
> > > There's an easier way to do this.  Just add the following to config.php:
> > >   $WikiStyles['RED']['apply'] = 'block';
> > >   $WikiStyles['RED']['color'] = 'red';
> > > and then %RED% will be the same as %block color=red%.
> >
> > I could not get this to work.
> 
> I've *got* to stop typing answers without testing them fully.  Sorry
> about that -- no 's' in $WikiStyle...:
> 
>    $WikiStyle['RED']['apply'] = 'block';
>    $WikiStyle['RED']['color'] = 'red';
> 
> Now tested (and demonstrated) at http://www.pmwiki.org/wiki/Test/WikiStyleRED.
> 

Its working now.
Thanks,
Menachem

> Pm
> 


-- 
Are you interested in using Linux?
Download Libranet 2.8.1 for free and try it out.
http://www.libranet.com/trial_download.html



More information about the pmwiki-users mailing list