DDoc and logically structured HTML

Walter Bright newshound2 at digitalmars.com
Sun Mar 11 19:03:03 PDT 2012


On 3/10/2012 5:08 PM, Stewart Gordon wrote:
> The default macros built into DDoc leave something to be desired in terms of
> HTML structure, for example:
>
> - presentational <font>, <big> and <small> tags, rather than CSS equivalents
> - presentational details coded directly into the macros called by DDoc, rather
> than delegated to CSS classes
> - <br><br> to separate paragraphs, rather than <p></p> to enclose them.

The idea behind this is simple - a naive use of it should generate content that 
is renderable. Requiring the user to provide a css file thwarts that goal.


More information about the Digitalmars-d mailing list