Bug 17535 – dlangspec.pdf: enforce a maximal width for all code examples
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-06-21T07:01:59Z
Last change time
2017-12-18T22:55:29Z
Keywords
pull
Assigned to
No Owner
Creator
Seb
Comments
Comment #0 by greensunny12 — 2017-06-21T07:01:59Z
Automatic line breaks don't look like:
http://imgur.com/2c5kUrjhttp://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).