hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.27k stars 282 forks source link

💻 Add "copy code" button into some adventures #5039

Open Felienne opened 5 months ago

Felienne commented 5 months ago

Idea incl level Some adventures have a reference to previous levels, like Story in level 3:

image

It would be very cool to have a secret command we can use in adventures, like "" that adds a button that fetches your code and copies it to the editor. We can even allow people to use that in their own and public advenures!

hasan-sh commented 5 months ago

It would be very cool to have a secret command we can use in adventures, like "" that adds a button that fetches your code and copies it to the editor. We can even allow people to use that in their own and public advenures!

Sounds cool, so this functionality would only copy code over from (previous) levels of the current adventure, right?