Many documentation examples can now be run online

Johan Engelen via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Dec 23 15:52:48 PST 2016


On Tuesday, 20 December 2016 at 07:04:38 UTC, Seb wrote:
>
> https://github.com/dlang/dlang.org/pull/1527

Nice. It's pretty awesome!

When clicking the "edit" button, a new box appears with the 
example's code in it but editable. Then when clicking "run", the 
editted code disappears (it's saved for future use, pfew!).

How about this: when clicking _either_ "edit" or "run", the 
non-editable code box disappears, and the edittable code box 
appears and stays there forever.

(also, the height of the editable-code-box is too small; should 
fit the whole example's code?)

cheers,
   Johan



More information about the Digitalmars-d-announce mailing list