[pmwiki-users] Definition Lists

Hans design at flutesong.fsnet.co.uk
Mon Jun 20 04:09:10 CDT 2005


continued from Cookbook thread...

Maybe it is worth pursuing the idea of an alternative markup for a
definition list, which will be capable of displaying a line of dots
stretching from the 'term' to the 'definition'.
  
The markup of the definition list is now
: term : definition
: term : definition
: term : definition
etc.

producing html
<dl>
    <dt> term </dt><dd> definition </dd>
    <dt> term </dt><dd> definition </dd>
    <dt> term </dt><dd> definition </dd>
    etc.
</dl>

and the styling is done seperately.

could we have a markup which produces
<ul>
   <li><dl><dt> term </dt><dd> definition </dd></dl></li>
   <li><dl><dt> term </dt><dd> definition </dd></dl></li>
   <li><dl><dt> term </dt><dd> definition </dd></dl></li>
   etc.
</ul>
        ?

The markup should be similarly simple as : term : definition,
perhaps :: term :: definition to indicate the more complex form.

Special styling with dotted lines etc. can be applied through
wikistyles

-- 
Best regards,
 Hans                          




More information about the pmwiki-users mailing list