Re: Text_Wiki special classes
| From: | Guillaume Lecanu | Date: | Wed, 11 Oct 2006 22:11:04 +0000 |
| Subject: | Re: Text_Wiki special classes | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25409@lists.php.net to get a copy of this message | ||
Le mercredi 11 octobre 2006 à 12:47 -0700, Justin Patrin a écrit :
> On 10/11/06, Guillaume Lecanu <Guillaume@lya.fr> wrote:
> >
> > Hi again,
> >
> > I'm searching a generic way to assign classes on somes classes of elements
> >
> > For example :
> >
> > Text Wiki : [blue]My blue text[/blue]
> > => HTML : <span class="blue">My blue text</span>
> >
> > Like this, I can assign any CSS design on the class "blue".
> >
> > If it's too difficult, may be is it possible to do something like this :
> > [class blue]My blue text[/class]
> >
>
> There's nothing generic like this in Text_Wiki, no. You're welcome to
> implement your own rules, though, it's not too hard. Just check out,
> for instance, Parse/Default/Colortext.php and
> Render/Default/Colortext.php.
Ok thanks :-)
> --
> Justin Patrin
>
Attachment: [application/pgp-signature] Ceci est une partie de message numériquement signée signature.asc
Attachment: [application/pgp-signature] Ceci est une partie de message numériquement signée signature.asc