https://issues.dlang.org/show_bug.cgi?id=17560
Issue ID: 17560
Summary: Enhancement: view and copy full code example for
offline compile/play
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
Now we have code examples which can be edited and run online. But there are two
circumstances that make it difficult to use examples for beginners. First, the
examples on the site do not always work, and secondly, they are incomplete in
terms of imports. Therefore, a neophyte can not just save an example to a disc
and start playing with it.
I propose an additional button that shows the complete, compilable example
text.
--