[Pmwiki-users] Font size while modifying skins

Bob Dively dive
Wed Feb 25 14:24:54 CST 2004


Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Wed, Feb 25, 2004 at 12:31:45PM -0700, Patrick R.
> Michaud wrote:
>>
>> ...which tells me the correct answer, namely to have
>> [--some text--] be rendered as
>>
>>    <span style='font-size:xx%'>some text</span>
>>
>> where the 'xx%' is computed based upon the number of '-'
>> or '+' in the markup text.  Thanks, I'll see about
>> making this change for 0.6.4.
>
> I now have this implemented on the site at pmichaud.com
> if anyone wants to test it out or make suggestions.

Pretty nifty. Out of curiosity how is it coming up with the
%s? I'm guessing that you didn't arbitrarily decide that
three "+" characters represents 172.8%.

-b




More information about the pmwiki-users mailing list