[pmwiki-users] custom markups and like breaks
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 18 17:58:42 CDT 2005
On Fri, Aug 19, 2005 at 10:52:16AM +1200, John Rankin wrote:
> How should a local end-of-line markup handle line breaks?
>
> I have an experimental local markup where
>
> * an item::its continuation
>
> :a term:its definition::and its continuation
>
> produce respectively
>
> <ul><li><p>an item</p><p>its continuation</p></li></ul>
>
> <dl><dt>a term</dt><dd>its definition></dd><dd>and its continuation</dd></dl>
>
> This seems to be working. Local css rules adjust the
> inter-paragraph space. But it seems more natural to write
>
> * an item::
> its continuation
>
> :a term:its definition::
> and its continuation
>
> I can't figure out how to make this work.
>
> It ought to be 'obvious when you know how'. Any suggestions?
How about just eliminating any return after a double colon?
Markup ('::$', '<\\$', "/::\n/", '::');
Pm
More information about the pmwiki-users
mailing list