Improving ddoc

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 2 01:10:08 PST 2015


On 1/1/15 7:01 AM, Ary Borenszweig wrote:
> 1. Add "* foo" syntax for lists

Currently ddoc ignores leading * so we'd need another character if at all.

> 2. Add **bold** and __bold__

How necessary are these?

> 3. Add *italic* and _italic_

Maybe these would be more often useful.

> 4. Make `some text` automatically link to other D code. For example
> `std.algorithm.any` would automatically link to
> http://dlang.org/phobos/std_algorithm.html#.any . This must work for
> types, functions, etc. If it doesn't resolve to a symbol, just put it
> inside <code>...</code>

Nice.

> 5. Make [text](url) denote a link.

Nice.

> 6. Remove macros.

We probably can't do that.

Thanks!


Andrei



More information about the Digitalmars-d mailing list