On Thu, Jan 01, 2015 at 12:48:58PM -0800, Walter Bright via Digitalmars-d wrote:
[...]
> Can you do lists without macros in Ddoc? Sure:
> 
> /**************************************
> 
>  Description
> 
>  1. first item
> 
>  2. second item
> 
> An unordered list:
> 
>  - first item
> 
>  - second item
> 
> **********************************/

The problem is that this is strictly speaking a hack, not a solution,
because in the output it's not tagged as a list. This may not be a
problem if the output is HTML for user consumption, but if you're
outputting to XML, say, or if your HTML is postprocessed by semantic
analysis tools, they will fail to pick up on the fact that this is a
list.


T

-- 
Unix was not designed to stop people from doing stupid things, because that 
would also stop them from doing clever things. -- Doug Gwyn

Reply via email to