[Issue 16110] New: ddoc should emit paragraphs not hard-coded line-breaks

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 1 03:09:27 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16110

          Issue ID: 16110
           Summary: ddoc should emit paragraphs not hard-coded line-breaks
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com

There are many pages which are not visually appealing, like

https://dlang.org/phobos/std_format.html
http://dlang.org/phobos/std_digest_md.html
http://dlang.org/phobos/std_bigint.html
http://dlang.org/phobos/std_datetime.html
http://dlang.org/phobos/std_experimental_logger.html
...

For a detailed list either browse the docs or see [1].

Imho ddoc should learn from the markdown approach and translate block to
paragraphs and not insert hard-coded newlines.

a
b
c

<p>a b c</p>


https://daringfireball.net/projects/markdown/syntax#p

[1] https://github.com/dlang/phobos/pull/4358/files

--


More information about the Digitalmars-d-bugs mailing list