[pmwiki-users] <!--markup: question
Christian Schlatter
ch at schlatter.net
Sun Jan 29 12:15:46 CST 2006
Patrick R. Michaud wrote:
> On Sun, Jan 29, 2006 at 02:51:50AM -0500, Christian Schlatter wrote:
>> I've written a custom markup that outputs a simple string, like e.g.
>> (:itemid:) gives "7". As soon as I embed this markup in a skin template,
>> its output gets enclosed in an html paragraph.
>>
>> <!--markup:(:itemid:)--> gives <p>7</p>
>>
>> Is it possible to include the markup in the template without the
>> enclosing html paragraph?
>
> Try returning "<:block>7" instead of just "7". The "<:block>"
> notation should tell PmWiki not to enclose the text in <p>...</p>
> or anything else.
Cool, that did the trick!
thanks
ChristianS
More information about the pmwiki-users
mailing list