home/ atoms/ strudel-minirepl

Strudel's MiniREPL is an inline interactive editor for running and editing code samples in the docs

The Strudel documentation uses embedded ‘MiniREPLs’ — small interactive code cells inside the docs pages — where learners can click play, hear the pattern, edit the code, and click refresh to hear the modified version. This means the documentation is live and executable, not just readable. The first exercise in the Getting Started guide is editing s("bd sd") to s("bd sd cp hh") directly in the MiniREPL — completing a live coding action within the first few seconds of encountering the tool.

Examples

Opening the Getting Started page shows a MiniREPL pre-loaded with s("bd sd"). Click play → hear kick-snare. Edit to add cp hh → click refresh → hear four-element pattern.

Assessment

What distinguishes a MiniREPL from a standard code example in documentation? Why does the Strudel docs team embed executable code rather than just showing static code snippets?

“in these pages you will also encounter interactive "MiniREPLs" where you can listen to and edit Strudel patterns.”
corpus · strudel-learn-getting-started-official-docs · chunk 1