[pmwiki-users] Skip a line in block of code

Menachem Shapiro menachem.shapiro at gmail.com
Thu Feb 17 17:56:44 CST 2005


B"H
On Thu, 17 Feb 2005 17:45:18 -0600, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> On Thu, Feb 17, 2005 at 02:59:53PM -0800, Menachem Shapiro wrote:
> > I setup a note markup (using the commentary markup brought up earlier
> > on the list. here are the lines from my config.php:
> >
> > ### trying to create a note markup
> > $WikiStyle['note']['apply'] = 'block';
> > $WikiStyle['note']['background-color'] = '#f8dce1';
> > $WikiStyle['note']['margin'] = '1em';
> > $WikiStyle['note']['border'] = '1px dotted #ea97a4';
> >
> > If you look at http://otterprojectonline.info/pmwiki/Misc/Tips , you
> > will see that I used the note markup on a bullet point. It ended up
> > putting two borders, one around the text and one around the bullet
> > area.
> 
> If you want the markup to apply only to a specific item, use
>    $WikiStyle['note']['apply'] = 'item';
> 
> If you want the markup to apply to the entire list, use
>    $WikiStyle['note']['apply'] = 'list';
> 
> apply=block will apply the style to the entire block, which includes
> both lists and items (thus the double styling on that item).
> 

Could you explain the difference betwen 'block', 'list', and 'item'?
If I want to markup just the paragraph of text without marking up the
bullet, and without having to re-markup every line, which one would I
use?

Menachem

> Pm
> 
> 


-- 
Are you interested in using Linux?
Download Libranet 2.8.1 for free and try it out.
http://www.libranet.com/trial_download.html



More information about the pmwiki-users mailing list