[pmwiki-users] a defaut class attribute on paragraphs ?

H. Fox haganfox at gmail.com
Thu Aug 18 08:05:01 CDT 2005


On 8/18/05, xave <xave at xave.org> wrote:
> Bonjour,
> 
>   I'm discovering pmWiki and it fits most of my wishes (especially the
> "customize everything without hacking the core" philosophy.)
> 
>   I'm trying to integrate it into an already working site's style and it
> works quite well. My problem is that I need a specific class attribute
> on *every* paragraph. For some reasons, I cannot touch the master CSS,
> Is there any way ( a Markup() rule, preferably) to add my class
> attribute on every <p> (without adding %myclass% everywhere, that is.) ?

Try

    $BlockMarkups[p] = array('<p class="foo">','','</p>',0);

Hagan




More information about the pmwiki-users mailing list