[pmwiki-users] custom markups and like breaks
mistyfire at autograf.pl
Fri Aug 19 02:56:52 CDT 2005
> > 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 would be really useful if one wants to have more than one 'definition' to
Come to think of it how about more than one 'term' to a single definition.
: term one::term two:its definition
> > 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/", '::');
Thanks for both the issue and the solution. It has given me another idea.
More information about the pmwiki-users