[pmwiki-users] Converting WikiStyle shortcuts to CSS classes
Patrick R. Michaud
pmichaud at pobox.com
Mon Sep 12 09:29:56 CDT 2005
On Mon, Sep 12, 2005 at 09:32:11AM -0400, Russell Bailey wrote:
> What I'm doing with this particular extension is rendering WikiStyle
> shortcuts (either defined directly in $WikiStyle or put there with
> define= markup) to CSS classes, then applying the classes to the text.
> So, from my sandbox:
> %red% red %%
> <span class='wikistyle_red'>
> instead of
> <span style='color:red;'>
> This means that when data is saved from the rich text editor, PmWiki
> can tell which spans had which WikiStyles, making things more intuitive
> for the end user.
...I haven't quite figured out how you'll be able to handle things like
Are you creating new classes for each of these?
More information about the pmwiki-users