[pmwiki-users] Definition lists with multiple definitions
Patrick R. Michaud
pmichaud at pobox.com
Fri Sep 8 08:20:12 CDT 2006
On Fri, Sep 08, 2006 at 08:00:23PM +1000, Kathryn Andersen wrote:
> I got a question from a user asking how to make a definition list with
> multiple definitions per term. I looked in the documentation, and
> there's nothing there. I tried the following:
>
> :term:definition
> ::second definition
>
> While this "fakes" a second definition, it doesn't use correct HTML
> markup for it -- it makes a sequence like this
> [...]
> What it should really be (if this is the correct markup for
> definitions-after-the-first-one) is:
>
> <dl><dt>term</dt>
> <dd>definition</dd>
> <dd>second definition</dd>
> </dl>
>
> Is this possible?
Yes, but there needs to be a space in the term for the second
definition; i.e.:
:term:definition
: :second definition
The reason is that PmWiki sees "::second definition" as being
a second-level nested definition list item, as opposed to a
first-level definition list item with an empty term.
Pm
More information about the pmwiki-users
mailing list