[pmwiki-users] Bold numbered list

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Thu Jan 4 09:44:43 CST 2007


Thanks Pm,

I'm trying to make it a permanent style in config.php but it doesn't work. How do you set the unary variable "item"?

I have tried:

$WikiStyle['bolditem']['font-weight'] = 'bold'; 
$WikiStyle['bolditem']['item'] = '1';

Without success...

Strangely this seems to work for "block" in:

$WikiStyle['yellowboxNoborder']['block'] = '1';
$WikiStyle['yellowboxNoborder']['background-color'] = '#ffec89';

Pierre

-----Message d'origine-----
De : Patrick R. Michaud [mailto:pmichaud at pobox.com] 
Envoyé : 20 décembre 2006 17:24
À : Pierre Racine
Cc : pmwiki-users at pmichaud.com
Objet : Re: [pmwiki-users] Bold numbered list

On Wed, Dec 20, 2006 at 03:15:20PM -0500, Pierre Racine wrote:
>    Anyone has a trick to make a numbered list with the text AND the numbers
>    in bold?

Define a new wikistyle for it:

    %define=bolditem item font-weight:bold%

and then for each bullet point you can do:

    # %bolditem% This text is bold
    # %bolditem% This is also bold

See http://www.pmwiki.org/wiki/Test/BoldOrderedList
for an example.

Pm





More information about the pmwiki-users mailing list