[Pmwiki-users] %class=something% (was Re: Extending ...)
Steven Leite
steven_leite
Sun Feb 29 19:53:47 CST 2004
Just a suggestion, weak as it may be, but the [= .. =] tags already seem to
mimic the behaviour of the <p> .. </p> or <div> ... </div> tags when used
for example in %comment%. I noticed a couple places where we are instructed
to use [= ... =] to span more than one line of an effect. Maybe we could
tweak this so it works with <div> ... </div>? I guess it come back to user
demand .. i have't seen anybody screaming "I want block text styles!" ...
--S
>>> %class=myCoolStyle%Some random text bla bla%%
>>No problem, I can add that also. Just remember that it applies
>>classes to inline text (<span>...</span>) and doesn't generate blocks
>>(<div>...</div>).
> To be honest, I hadn't thought much about which elements the classes are
> attached to. I just want to be able to define generic classes:
>
> .class { property: value; }
>
> ...and be reasonably sure that they will work when I use them:
>
> %class=class% Text and stuff here...
>
> There are probably times when a way to apply a class to a block is
> required, but if we can at least apply classes to inline text to start
> with, that will offer a lot more flexibility to those of us using PmWiki
> to maintain normal web sites rather than collaborative wikis.
>
More information about the pmwiki-users
mailing list