[Issue 17535] New: dlangspec.pdf: enforce a maximal width for all code examples
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jun 21 00:01:59 PDT 2017
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 at puremagic.com
Reporter: greensunny12 at 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).
--
More information about the Digitalmars-d-bugs
mailing list