samwilson/dokuwiki-plugin-definitionlist — pull request #5 by ssahara (2013-11-20 07:09:18+00:00)
Title: Arbitrary class assignment to dl/dt/dd

I think it will be nice if users can choice appropriate style/design (from pre-defined css classes) for the definition lists depending on its context. The HTML dl/dt/dd is available for glossary tables to a script of play (libretto).
One of this pull request provides a solution by the macro `\~~:dlist:class~~`, which can be placed anywhere in the Wiki source before definition list syntax. It even allows more than two definition lists those have different appearance in the same page by using macro several times.

Another request concerns how to set class attribute for dt or dd tags.
From the web-designer perspective, I want to assign specific css class only for certain dt/dd tags to control their appearance such as font or term-folding behavior.
I extended the syntax like `: class | description` to render `
description
`. The original syntax works well as usual.
Even I do know whether this is good way or not in programmer's view, it works well as expected anyway.

I appreciate it if you could give me any suggestion or comments.