Swirl.jl now supports multi-step code questions and full Markdown rendering!
Swirl.jl has just been updated with two major improvements:
Multi-step questions: you can now design exercises that require multiple code lines, with separate hints for each step. Perfect for walking learners through multi-part problems or short coding tasks.
Markdown rendering everywhere: lessons, questions, hints, and menus are now displayed with Markdown formatting, making everything cleaner and easier to read directly in the REPL.
The built-in Julia Basics course has been adapted to use these new features.
You can check it out in action here
Thanks for the great suggestion!
You can check out my latest post. I hope youβll like the result.
There wasnβt really a strong reason those fields had to be String; I had chosen that early on because the classic runner simply used println everywhere. Now, Swirl.jl fully supports Markdown.MD in REPL mode, so lessons, questions and hints are all nicely rendered.
I love this idea! Running Swirl in a ttyd container is brilliant. The REPL likely exits because ttyd isnβt fully interactive yet, I guess(?) Could you try swirl(use_repl_mode=:classic) for now and see how it goes?