Many documentation examples can now be run online

Seb via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Dec 23 16:04:54 PST 2016


On Friday, 23 December 2016 at 23:52:48 UTC, Johan Engelen wrote:
> 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

Hehe, that's already in the queue:

https://github.com/dlang/dlang.org/pull/1529


More information about the Digitalmars-d-announce mailing list