[pmwiki-users] apply wikistyle to a heading

Patrick R. Michaud pmichaud at pobox.com
Wed Oct 24 12:58:46 CDT 2007


On Wed, Oct 24, 2007 at 12:40:25PM -0500, Jon Haupt wrote:
> How do I apply a wikistyle to a heading?  Specifically, I want to
> assign a CSS class selector, so I want it to be
> 
> <h2 class='whatever'>My Heading</h2>
> 
> but
> !! %whatever% My Heading
> produces
> <h2><span class='whatever'>My Heading</span></h2>
> 
> Far as I know, the only way to do this is to create a custom markup
> for it, but am I missing something?

!! %block whatever% My Heading

Pm



More information about the pmwiki-users mailing list