DLang Spec rewrite (?)

Walter Bright newshound2 at digitalmars.com
Sun May 26 00:32:01 PDT 2013


On 5/25/2013 10:34 PM, Jonathan M Davis wrote:
> My main complaint about ddoc is actually not a complaint about ddoc but about
> html. I find it very annoying to have to put $(P ) around every paragraph. Stuff
> like LaTeX does that automatically based on blank lines, which is way better
> IMHO, but if you're targetting HTML, then unfortunately, you need to mark
> paragraphs. The only way to fix that with regards to ddoc would be to make it
> so that ddoc understood that blank lines meant new paragraphs and inserted
> <p></p> appropriately, when generating html, but that would make it so that
> ddoc was less general, and there might be other negatives to that I haven't
> thought of. So, we just get to deal with $(P ) I guess.

The issue with implied paragraph breaks is that then ddoc would have to get a 
lot smarter to avoid putting $(P ) around everything with a blank lines, and 
then you are already down the path of creating a markup language, not a macro 
language.


More information about the Digitalmars-d mailing list