www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17535] New: dlangspec.pdf: enforce a maximal width for all

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

          Issue ID: 17535
           Summary: dlangspec.pdf: enforce a maximal width for all code
                    examples
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

Automatic line breaks don't look like:

http://imgur.com/2c5kUrj
http://imgur.com/qXyfcV0

It's probably best if we enforce that everything within the Ddoc code block has
a maximal width of X and thus force the "user" to specify the breaking
manually.

FYI: We have done this for the dlang-tour as well (we used 48 chars to ensure a
great experience on mobile devices).

--
Jun 21