Improving ddoc
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 6 07:12:59 PST 2015
On Tuesday, 6 January 2015 at 15:00:06 UTC, Dicebot wrote:
> Wait what? It isn't formatted as <hX> as far as I can see. How
> exactly this is supposed to work?
That makes a DDOC_SECTION. The default macro is
DDOC_SECTION_H = $(B $0)$(BR)
DDOC_SECTION = $0$(BR)$(BR)
But if these macros were better, it could be a
<header><hx>$0</hx></header> where the x is the right level.
I might spend a day revamping these macros eventually, the
default ones are so bad, they make poor html and hide some of
ddoc's own features.
More information about the Digitalmars-d
mailing list