<?php if (!defined('PmWiki')) exit(); /** bold lists - this recipe will make those numbers and letters before any ordered list, to be bold. This is so small that should be just a TIP. Copyright 2001-2009 Carlos Bonamigo This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // replace BlockMarkups for ordered lists // to include a <div class="li"></div> // inside each <li> html element $BlockMarkups['ol'] = array('<ol><li><div class="li">', '</div></li><li><div class="li">', '</div></li></ol>',1); // css to style the div,li and ol // html elements mentioned above $HTMLStylesFmt['boldlists'] = " div.li{font-weight:normal} ol>li{font-weight:bold} ";