maxg / handx

Markdown handouts + exercises
Other
2 stars 2 forks source link

Exercises: support blanks in code #13

Open maxg opened 7 years ago

maxg commented 7 years ago

See 6.031 spring 17 reading 16 part 2 for examples of hand-made exercises that work reasonably well.

rcmiller commented 6 years ago

It would also be great to support blanks in the middle of a code line, not just a blank representing an entire line, as in: http://web.mit.edu/6.031/www/sp18/classes/27-little-languages-2/#@our_visitor_example (Right now the textbox reserves whitespace after it to display the correct answer, which makes the surrounding code unreadable.)